diff options
author | Peter Zijlstra <[email protected]> | 2011-04-05 17:23:45 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2011-04-14 08:52:35 +0200 |
commit | 013fdb8086acaae5f8eb96f9ad48fcd98882ac46 (patch) | |
tree | dfc5cf5dcdfaa593f836b08642609cc32b0d5936 /tools/perf/scripts/python/check-perf-trace.py | |
parent | fd2f4419b4cbe8fe90796df9617c355762afd6a4 (diff) |
sched: Serialize p->cpus_allowed and ttwu() using p->pi_lock
Currently p->pi_lock already serializes p->sched_class, also put
p->cpus_allowed and try_to_wake_up() under it, this prepares the way
to do the first part of ttwu() without holding rq->lock.
By having p->sched_class and p->cpus_allowed serialized by p->pi_lock,
we prepare the way to call select_task_rq() without holding rq->lock.
Reviewed-by: Frank Rowand <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Nick Piggin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Andrew Morton <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions