Re: [PATCH v7 2/2] CPU hotplug, smp: Flush any pending IPI callbacks before CPU offline

2014-06-25 Thread Srivatsa S. Bhat
On 06/25/2014 09:12 PM, Sasha Levin wrote: > On 05/26/2014 07:08 AM, Srivatsa S. Bhat wrote: >> During CPU offline, in stop-machine, we don't enforce any rule in the >> _DISABLE_IRQ stage, regarding the order in which the outgoing CPU and the >> other >> CPUs disable their local interrupts. Hence,

Re: [PATCH v7 2/2] CPU hotplug, smp: Flush any pending IPI callbacks before CPU offline

2014-06-25 Thread Sasha Levin
On 05/26/2014 07:08 AM, Srivatsa S. Bhat wrote: > During CPU offline, in stop-machine, we don't enforce any rule in the > _DISABLE_IRQ stage, regarding the order in which the outgoing CPU and the > other > CPUs disable their local interrupts. Hence, we can encounter a scenario as > depicted below,

[PATCH v7 2/2] CPU hotplug, smp: Flush any pending IPI callbacks before CPU offline

2014-05-26 Thread Srivatsa S. Bhat
During CPU offline, in stop-machine, we don't enforce any rule in the _DISABLE_IRQ stage, regarding the order in which the outgoing CPU and the other CPUs disable their local interrupts. Hence, we can encounter a scenario as depicted below, in which IPIs are sent by the other CPUs to the CPU going