aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/mm/init.c
diff options
context:
space:
mode:
authorJuergen Gross <[email protected]>2017-07-05 16:05:20 +0200
committerJuergen Gross <[email protected]>2017-07-23 08:13:11 +0200
commitc185ddec54657c145a0c2055e4b87918da24974f (patch)
tree534b075a9ed9871aed3983cfaa86c7111310b69d /arch/x86/mm/init.c
parent29d11cfd8698038b87458ba4d1329b9da81150a5 (diff)
xen/x86: fix cpu hotplug
Commit dc6416f1d711eb4c1726e845d653235dcaae12e1 ("xen/x86: Call cpu_startup_entry(CPUHP_AP_ONLINE_IDLE) from xen_play_dead()") introduced an error leading to a stack overflow of the idle task when a cpu was brought offline/online many times: by calling cpu_startup_entry() instead of returning at the end of xen_play_dead() do_idle() would be entered again and again. Don't use cpu_startup_entry(), but cpuhp_online_idle() instead allowing to return from xen_play_dead(). Cc: <[email protected]> # 4.12 Signed-off-by: Juergen Gross <[email protected]> Reviewed-by: Boris Ostrovsky <[email protected]> Signed-off-by: Juergen Gross <[email protected]>
Diffstat (limited to 'arch/x86/mm/init.c')
0 files changed, 0 insertions, 0 deletions