diff options
author | Frederic Weisbecker <[email protected]> | 2021-05-13 01:29:20 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2021-05-13 14:21:22 +0200 |
commit | 29721b859217b946bfc001c1644745ed4d7c26cb (patch) | |
tree | 8aab4cf88fd7900e62215aa2d1f92c6fefed6d8f /scripts/gdb/linux/tasks.py | |
parent | 176b8906c399a170886ea4bad5b24763c6713d61 (diff) |
tick/nohz: Only wake up a single target cpu when kicking a task
When adding a tick dependency to a task, its necessary to
wake up the CPU where the task resides to reevaluate tick
dependencies on that CPU.
However the current code wakes up all nohz_full CPUs, which
is unnecessary.
Switch to waking up a single CPU, by using ordering of writes
to task->cpu and task->tick_dep_mask.
[ mingo: Minor readability edit. ]
Suggested-by: Peter Zijlstra <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions