Re: [PATCH v3] cpu/hotplug: handle unbalanced hotplug enable/disable

2016-06-20 Thread Lianwei Wang
On Thu, Jun 9, 2016 at 11:43 PM, Lianwei Wang wrote: > Currently it just print a warning message but did not > reset cpu_hotplug_disabled when the enable/disable is > unbalanced. The unbalanced enable/disable will lead > the cpu hotplug work abnormally. > > Do nothing if an unablanced hotplug enab

[PATCH v3] cpu/hotplug: handle unbalanced hotplug enable/disable

2016-06-09 Thread Lianwei Wang
Currently it just print a warning message but did not reset cpu_hotplug_disabled when the enable/disable is unbalanced. The unbalanced enable/disable will lead the cpu hotplug work abnormally. Do nothing if an unablanced hotplug enable detected. Signed-off-by: Lianwei Wang --- kernel/cpu.c | 12