diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2011-04-05 17:23:50 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-04-14 08:52:37 +0200 |
commit | 2acca55ed98ad9b9aa25e7e587ebe306c0313dc7 (patch) | |
tree | b06fcc57dc284ccf8dcbda90370fd08250887421 /security | |
parent | a8e4f2eaecc9bfa4954adf79a04f4f22fddd829c (diff) | |
download | op-kernel-dev-2acca55ed98ad9b9aa25e7e587ebe306c0313dc7.zip op-kernel-dev-2acca55ed98ad9b9aa25e7e587ebe306c0313dc7.tar.gz |
sched: Also serialize ttwu_local() with p->pi_lock
Since we now serialize ttwu() using p->pi_lock, we also need to
serialize ttwu_local() using that, otherwise, once we drop the
rq->lock from ttwu() it can race with ttwu_local().
Reviewed-by: Frank Rowand <frank.rowand@am.sony.com>
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>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20110405152729.192366907@chello.nl
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions