Thread (12 messages) read the whole thread 12 messages, 3 authors, 2013-09-25

Re: [PATCH v2 4/4] hotplug, powerpc, x86: Remove cpu_hotplug_driver_lock()

From: Toshi Kani <hidden>
Date: 2013-09-25 20:47:03
Also in: linux-acpi, lkml

On Wed, 2013-09-25 at 08:27 +0000, Rafael J. Wysocki wrote:
Hi,

On Thursday, August 29, 2013 06:22:09 PM Toshi Kani wrote:
quoted
cpu_hotplug_driver_lock() serializes CPU online/offline operations
when ARCH_CPU_PROBE_RELEASE is set.  This lock interface is no longer
necessary with the following reason:

 - lock_device_hotplug() now protects CPU online/offline operations,
   including the probe & release interfaces enabled by
   ARCH_CPU_PROBE_RELEASE.  The use of cpu_hotplug_driver_lock() is
   redundant.
 - cpu_hotplug_driver_lock() is only valid when ARCH_CPU_PROBE_RELEASE
   is defined, which is misleading and is only enabled on powerpc.

This patch removes the cpu_hotplug_driver_lock() interface.  As
a result, ARCH_CPU_PROBE_RELEASE only enables / disables the cpu
probe & release interface as intended.  There is no functional change
in this patch.

Signed-off-by: Toshi Kani <redacted>
Acked-by: Rafael J. Wysocki <redacted>
Reviewed-by: Nathan Fontenot <redacted>
Can you please rebase this patch on top of 3.12-rc2?  It doesn't apply for
me any more.
Yes, I will send this patch on top of 3.12-rc2.

Thanks,
-Toshi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help