Re: [PATCH] mm/hotplug: Remove stop_machine() from try_offline_node()

2013-09-09 Thread Toshi Kani
Sorry, please ignore this email. I accidentally sent a wrong patch... -Toshi On Mon, 2013-09-09 at 18:21 -0600, Toshi Kani wrote: > lock_device_hotplug() serializes hotplug & online/offline operations. > The lock is held in common sysfs online/offline interfaces and ACPI > hotplug code paths.

[PATCH] mm/hotplug: Remove stop_machine() from try_offline_node()

2013-09-09 Thread Toshi Kani
lock_device_hotplug() serializes hotplug & online/offline operations. The lock is held in common sysfs online/offline interfaces and ACPI hotplug code paths. try_offline_node() off-lines a node if all memory sections and cpus are removed on the node. It is called from acpi_processor_remove() and

[PATCH] mm/hotplug: Remove stop_machine() from try_offline_node()

2013-09-09 Thread Toshi Kani
lock_device_hotplug() serializes hotplug online/offline operations. The lock is held in common sysfs online/offline interfaces and ACPI hotplug code paths. try_offline_node() off-lines a node if all memory sections and cpus are removed on the node. It is called from acpi_processor_remove() and

Re: [PATCH] mm/hotplug: Remove stop_machine() from try_offline_node()

2013-09-09 Thread Toshi Kani
Sorry, please ignore this email. I accidentally sent a wrong patch... -Toshi On Mon, 2013-09-09 at 18:21 -0600, Toshi Kani wrote: lock_device_hotplug() serializes hotplug online/offline operations. The lock is held in common sysfs online/offline interfaces and ACPI hotplug code paths.

Re: [PATCH] mm/hotplug: Remove stop_machine() from try_offline_node()

2013-08-16 Thread KOSAKI Motohiro
This patch removes the use of stop_machine() in try_offline_node() and adds comments to try_offline_node() and remove_memory() that lock_device_hotplug() is required. This patch need more verbose explanation. check_cpu_on_node() traverse cpus and cpu hotplug seems to use

Re: [PATCH] mm/hotplug: Remove stop_machine() from try_offline_node()

2013-08-16 Thread KOSAKI Motohiro
This patch removes the use of stop_machine() in try_offline_node() and adds comments to try_offline_node() and remove_memory() that lock_device_hotplug() is required. This patch need more verbose explanation. check_cpu_on_node() traverse cpus and cpu hotplug seems to use

Re: [PATCH] mm/hotplug: Remove stop_machine() from try_offline_node()

2013-08-15 Thread Toshi Kani
On Wed, 2013-08-14 at 21:21 -0400, KOSAKI Motohiro wrote: > (8/12/13 3:34 PM), Toshi Kani wrote: > > lock_device_hotplug() serializes hotplug & online/offline operations. > > The lock is held in common sysfs online/offline interfaces and ACPI > > hotplug code paths. > > > > try_offline_node()

Re: [PATCH] mm/hotplug: Remove stop_machine() from try_offline_node()

2013-08-15 Thread Toshi Kani
On Wed, 2013-08-14 at 21:21 -0400, KOSAKI Motohiro wrote: (8/12/13 3:34 PM), Toshi Kani wrote: lock_device_hotplug() serializes hotplug online/offline operations. The lock is held in common sysfs online/offline interfaces and ACPI hotplug code paths. try_offline_node() off-lines a

Re: [PATCH] mm/hotplug: Remove stop_machine() from try_offline_node()

2013-08-14 Thread KOSAKI Motohiro
(8/12/13 3:34 PM), Toshi Kani wrote: > lock_device_hotplug() serializes hotplug & online/offline operations. > The lock is held in common sysfs online/offline interfaces and ACPI > hotplug code paths. > > try_offline_node() off-lines a node if all memory sections and cpus > are removed on the

Re: [PATCH] mm/hotplug: Remove stop_machine() from try_offline_node()

2013-08-14 Thread KOSAKI Motohiro
(8/12/13 3:34 PM), Toshi Kani wrote: lock_device_hotplug() serializes hotplug online/offline operations. The lock is held in common sysfs online/offline interfaces and ACPI hotplug code paths. try_offline_node() off-lines a node if all memory sections and cpus are removed on the node. It

Re: [PATCH] mm/hotplug: Remove stop_machine() from try_offline_node()

2013-08-13 Thread Toshi Kani
On Tue, 2013-08-13 at 13:41 +0200, Rafael J. Wysocki wrote: > On Monday, August 12, 2013 01:34:31 PM Toshi Kani wrote: > > lock_device_hotplug() serializes hotplug & online/offline operations. > > The lock is held in common sysfs online/offline interfaces and ACPI > > hotplug code paths. > > > >

Re: [PATCH] mm/hotplug: Remove stop_machine() from try_offline_node()

2013-08-13 Thread Rafael J. Wysocki
On Monday, August 12, 2013 01:34:31 PM Toshi Kani wrote: > lock_device_hotplug() serializes hotplug & online/offline operations. > The lock is held in common sysfs online/offline interfaces and ACPI > hotplug code paths. > > try_offline_node() off-lines a node if all memory sections and cpus >

Re: [PATCH] mm/hotplug: Remove stop_machine() from try_offline_node()

2013-08-13 Thread Rafael J. Wysocki
On Monday, August 12, 2013 01:34:31 PM Toshi Kani wrote: lock_device_hotplug() serializes hotplug online/offline operations. The lock is held in common sysfs online/offline interfaces and ACPI hotplug code paths. try_offline_node() off-lines a node if all memory sections and cpus are

Re: [PATCH] mm/hotplug: Remove stop_machine() from try_offline_node()

2013-08-13 Thread Toshi Kani
On Tue, 2013-08-13 at 13:41 +0200, Rafael J. Wysocki wrote: On Monday, August 12, 2013 01:34:31 PM Toshi Kani wrote: lock_device_hotplug() serializes hotplug online/offline operations. The lock is held in common sysfs online/offline interfaces and ACPI hotplug code paths.

[PATCH] mm/hotplug: Remove stop_machine() from try_offline_node()

2013-08-12 Thread Toshi Kani
lock_device_hotplug() serializes hotplug & online/offline operations. The lock is held in common sysfs online/offline interfaces and ACPI hotplug code paths. try_offline_node() off-lines a node if all memory sections and cpus are removed on the node. It is called from acpi_processor_remove() and

[PATCH] mm/hotplug: Remove stop_machine() from try_offline_node()

2013-08-12 Thread Toshi Kani
lock_device_hotplug() serializes hotplug online/offline operations. The lock is held in common sysfs online/offline interfaces and ACPI hotplug code paths. try_offline_node() off-lines a node if all memory sections and cpus are removed on the node. It is called from acpi_processor_remove() and