diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2011-04-05 17:23:55 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-04-14 08:52:40 +0200 |
commit | b84cb5df1f9ad6da3f214c638d5fb08d0c99de1f (patch) | |
tree | cd7053563e72bdf6b5b5cb8ca6a6d646c914680a /include | |
parent | e4a52bcb9a18142d79e231b6733cabdbf2e67c1f (diff) | |
download | op-kernel-dev-b84cb5df1f9ad6da3f214c638d5fb08d0c99de1f.zip op-kernel-dev-b84cb5df1f9ad6da3f214c638d5fb08d0c99de1f.tar.gz |
sched: Remove rq argument from ttwu_stat()
In order to call ttwu_stat() without holding rq->lock we must remove
its rq argument. Since we need to change rq stats, account to the
local rq instead of the task rq, this is safe since we have IRQs
disabled.
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.394638826@chello.nl
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions