diff options
author | Peter Zijlstra <peterz@infradead.org> | 2021-09-21 23:16:02 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-10-07 14:51:15 +0300 |
commit | 8850cb663b5cda04d33f9cfbc38889d73d3c8e24 (patch) | |
tree | b928705d29ba099d985c9d2090a66ca1d28ed052 /kernel/livepatch | |
parent | 00619f7c650e4e46c650cb2e2fd5f438b32dc64b (diff) | |
download | linux-8850cb663b5cda04d33f9cfbc38889d73d3c8e24.tar.xz |
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) <peterz@infradead.org>
Acked-by: Vasily Gorbik <gor@linux.ibm.com>
Tested-by: Vasily Gorbik <gor@linux.ibm.com> # on s390
Link: https://lkml.kernel.org/r/20210929152428.769328779@infradead.org
Diffstat (limited to 'kernel/livepatch')
0 files changed, 0 insertions, 0 deletions