Re: [PATCH] cpu hotplug: Prevent Page Fault in cpuhp_remove_callbacks()

2017-07-20 Thread Thomas Gleixner
On Wed, 19 Jul 2017, Ethan Barnes wrote: > There is a page fault in cpu hotplug when removing the callbacks for the > last dynamic state. > The last dynamic state will not be removed, causing a page fault when > hotplug thinks the callbacks still exists and calls it. > > The problem is as

Re: [PATCH] cpu hotplug: Prevent Page Fault in cpuhp_remove_callbacks()

2017-07-20 Thread Thomas Gleixner
On Wed, 19 Jul 2017, Ethan Barnes wrote: > There is a page fault in cpu hotplug when removing the callbacks for the > last dynamic state. > The last dynamic state will not be removed, causing a page fault when > hotplug thinks the callbacks still exists and calls it. > > The problem is as

[PATCH] cpu hotplug: Prevent Page Fault in cpuhp_remove_callbacks()

2017-07-19 Thread Ethan Barnes
Hi, There is a page fault in cpu hotplug when removing the callbacks for the last dynamic state. The last dynamic state will not be removed, causing a page fault when hotplug thinks the callbacks still exists and calls it. The problem is as follows: - __cpuhp_remove_state() eventually calls

[PATCH] cpu hotplug: Prevent Page Fault in cpuhp_remove_callbacks()

2017-07-19 Thread Ethan Barnes
Hi, There is a page fault in cpu hotplug when removing the callbacks for the last dynamic state. The last dynamic state will not be removed, causing a page fault when hotplug thinks the callbacks still exists and calls it. The problem is as follows: - __cpuhp_remove_state() eventually calls