From: Peter Zijlstra Date: Tue, 5 Apr 2011 15:23:55 +0000 (+0200) Subject: sched: Remove rq argument from ttwu_stat() X-Git-Tag: v3.0-rc1~357^2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b84cb5df1f9ad6da3f214c638d5fb08d0c99de1f;p=pandora-kernel.git 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 Cc: Mike Galbraith Cc: Nick Piggin Cc: Linus Torvalds Cc: Andrew Morton Signed-off-by: Ingo Molnar Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/20110405152729.394638826@chello.nl --- Reading git-diff-tree failed