diff options
author | Nicholas Piggin <[email protected]> | 2019-04-11 13:34:46 +1000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-05-03 19:42:58 +0200 |
commit | 9ca12ac04bb7d7cfb28aa549dcd3d15761f15543 (patch) | |
tree | 98dbad7e8c82eea820041cdf693d02b919d0ecc1 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 2f1a6fbbef7781382850c3104ecb658f21b5d460 (diff) |
kernel/cpu: Allow non-zero CPU to be primary for suspend / kexec freeze
This patch provides an arch option, ARCH_SUSPEND_NONZERO_CPU, to
opt-in to allowing suspend to occur on one of the housekeeping CPUs
rather than hardcoded CPU0.
This will allow CPU0 to be a nohz_full CPU with a later change.
It may be possible for platforms with hardware/firmware restrictions
on suspend/wake effectively support this by handing off the final
stage to CPU0 when kernel housekeeping is no longer required. Another
option is to make housekeeping / nohz_full mask dynamic at runtime,
but the complexity could not be justified at this time.
Signed-off-by: Nicholas Piggin <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Rafael J . Wysocki <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions