aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2011-04-05 17:23:55 +0200
committerIngo Molnar <mingo@elte.hu>2011-04-14 08:52:40 +0200
commitb84cb5df1f9ad6da3f214c638d5fb08d0c99de1f (patch)
treecd7053563e72bdf6b5b5cb8ca6a6d646c914680a /scripts
parentsched: Remove rq->lock from the first half of ttwu() (diff)
downloadlinux-dev-b84cb5df1f9ad6da3f214c638d5fb08d0c99de1f.tar.xz
linux-dev-b84cb5df1f9ad6da3f214c638d5fb08d0c99de1f.zip
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 'scripts')
0 files changed, 0 insertions, 0 deletions