Commit b84cb5d
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.nl1 parent e4a52bc commit b84cb5d
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2410 | 2410 | | |
2411 | 2411 | | |
2412 | 2412 | | |
2413 | | - | |
| 2413 | + | |
2414 | 2414 | | |
2415 | 2415 | | |
| 2416 | + | |
| 2417 | + | |
2416 | 2418 | | |
2417 | 2419 | | |
2418 | 2420 | | |
| |||
2561 | 2563 | | |
2562 | 2564 | | |
2563 | 2565 | | |
2564 | | - | |
2565 | 2566 | | |
2566 | 2567 | | |
| 2568 | + | |
| 2569 | + | |
2567 | 2570 | | |
2568 | 2571 | | |
2569 | 2572 | | |
| |||
2600 | 2603 | | |
2601 | 2604 | | |
2602 | 2605 | | |
2603 | | - | |
| 2606 | + | |
2604 | 2607 | | |
2605 | 2608 | | |
2606 | 2609 | | |
| |||
0 commit comments