diff options
| author | Peter Zijlstra <[email protected]> | 2021-09-21 22:16:02 +0200 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2021-10-07 13:51:15 +0200 |
| commit | 8850cb663b5cda04d33f9cfbc38889d73d3c8e24 (patch) | |
| tree | b928705d29ba099d985c9d2090a66ca1d28ed052 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 00619f7c650e4e46c650cb2e2fd5f438b32dc64b (diff) | |
sched: Simplify wake_up_*idle*()
Simplify and make wake_up_if_idle() more robust, also don't iterate
the whole machine with preempt_disable() in it's caller:
wake_up_all_idle_cpus().
This prepares for another wake_up_if_idle() user that needs a full
do_idle() cycle.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Vasily Gorbik <[email protected]>
Tested-by: Vasily Gorbik <[email protected]> # on s390
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions