aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched/deadline.c
diff options
context:
space:
mode:
authorWanpeng Li <wanpeng.li@linux.intel.com>2015-03-17 19:15:31 +0800
committerIngo Molnar <mingo@kernel.org>2015-03-27 09:36:15 +0100
commita1963b81deec54c113e770b0020e5f1c3188a087 (patch)
tree650cdf63c8f2783bc81be748717a896fcdbdb91b /kernel/sched/deadline.c
parentsched/deadline: Avoid a superfluous check (diff)
downloadlinux-dev-a1963b81deec54c113e770b0020e5f1c3188a087.tar.xz
linux-dev-a1963b81deec54c113e770b0020e5f1c3188a087.zip
sched/deadline: Fix rt runtime corruption when dl fails its global constraints
One version of sched_rt_global_constaints() (the !rt-cgroup one) changes state, therefore if we fail the later sched_dl_global_constraints() call the state is left in an inconsistent state. Fix this by changing the order of the calls. Signed-off-by: Wanpeng Li <wanpeng.li@linux.intel.com> [ Improved the changelog. ] Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Juri Lelli <juri.lelli@arm.com> Link: http://lkml.kernel.org/r/1426590931-4639-2-git-send-email-wanpeng.li@linux.intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sched/deadline.c')
0 files changed, 0 insertions, 0 deletions