aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/lib/cache-smp.c
diff options
context:
space:
mode:
authorPavankumar Kondeti <[email protected]>2019-06-03 04:31:03 +0000
committerThomas Gleixner <[email protected]>2019-06-12 09:03:05 +0000
commita66d955e910ab0e598d7a7450cbe6139f52befe7 (patch)
treeda677f2f416df5661601ce7a49af91de6b32080d /arch/x86/lib/cache-smp.c
parentcpu/hotplug: Fix notify_cpu_starting() reference in bringup_wait_for_ap() (diff)
downloadkernel-a66d955e910ab0e598d7a7450cbe6139f52befe7.tar.gz
kernel-a66d955e910ab0e598d7a7450cbe6139f52befe7.zip
cpu/hotplug: Abort disabling secondary CPUs if wakeup is pending
When "deep" suspend is enabled, all CPUs except the primary CPU are frozen via CPU hotplug one by one. After all secondary CPUs are unplugged the wakeup pending condition is evaluated and if pending the suspend operation is aborted and the secondary CPUs are brought up again. CPU hotplug is a slow operation, so it makes sense to check for wakeup pending in the freezer loop before bringing down the next CPU. This improves the system suspend abort latency significantly. [ tglx: Massaged changelog and improved printk message ] Signed-off-by: Pavankumar Kondeti <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: "Rafael J. Wysocki" <[email protected]> Cc: Len Brown <[email protected]> Cc: Pavel Machek <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Konrad Rzeszutek Wilk <[email protected]> Cc: iri Kosina <[email protected]> Cc: Mukesh Ojha <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'arch/x86/lib/cache-smp.c')
0 files changed, 0 insertions, 0 deletions