aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_rt.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2011-04-05 17:23:45 +0200
committerIngo Molnar <mingo@elte.hu>2011-04-14 08:52:35 +0200
commit013fdb8086acaae5f8eb96f9ad48fcd98882ac46 (patch)
treedfc5cf5dcdfaa593f836b08642609cc32b0d5936 /kernel/sched_rt.c
parentfd2f4419b4cbe8fe90796df9617c355762afd6a4 (diff)
downloadkernel_samsung_smdk4412-013fdb8086acaae5f8eb96f9ad48fcd98882ac46.zip
kernel_samsung_smdk4412-013fdb8086acaae5f8eb96f9ad48fcd98882ac46.tar.gz
kernel_samsung_smdk4412-013fdb8086acaae5f8eb96f9ad48fcd98882ac46.tar.bz2
sched: Serialize p->cpus_allowed and ttwu() using p->pi_lock
Currently p->pi_lock already serializes p->sched_class, also put p->cpus_allowed and try_to_wake_up() under it, this prepares the way to do the first part of ttwu() without holding rq->lock. By having p->sched_class and p->cpus_allowed serialized by p->pi_lock, we prepare the way to call select_task_rq() without holding rq->lock. Reviewed-by: Frank Rowand <frank.rowand@am.sony.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Mike Galbraith <efault@gmx.de> Cc: Nick Piggin <npiggin@kernel.dk> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Andrew Morton <akpm@linux-foundation.org> Link: http://lkml.kernel.org/r/20110405152728.990364093@chello.nl Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/sched_rt.c')
0 files changed, 0 insertions, 0 deletions