diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2011-04-05 17:23:40 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-04-14 08:52:32 +0200 |
commit | 3ca7a440da394808571dad32d33d3bc0389982e6 (patch) | |
tree | ed749666030d201249f62a8dcb93224271d43241 /kernel/mutex.c | |
parent | 184748cc50b2dceb8287f9fb657eda48ff8fcfe7 (diff) | |
download | lwn-3ca7a440da394808571dad32d33d3bc0389982e6.tar.gz lwn-3ca7a440da394808571dad32d33d3bc0389982e6.zip |
sched: Always provide p->on_cpu
Always provide p->on_cpu so that we can determine if its on a cpu
without having to lock the rq.
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.785452014@chello.nl
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/mutex.c')
0 files changed, 0 insertions, 0 deletions