Re: [PATCH] powerpc: Make doorbell check preemption safe

2015-06-03 Thread Shreyas B Prabhu
On Wednesday 20 May 2015 06:30 AM, Michael Neuling wrote: > On Wed, 2015-05-20 at 00:30 +0530, Shreyas B. Prabhu wrote: >> Doorbell can be used to cause ipi on cpus which are sibling threads on >> the same core. So icp_native_cause_ipi checks if the destination cpu >> is a sibling thread of the c

Re: [PATCH] powerpc: Make doorbell check preemption safe

2015-05-19 Thread Michael Neuling
On Wed, 2015-05-20 at 00:30 +0530, Shreyas B. Prabhu wrote: > Doorbell can be used to cause ipi on cpus which are sibling threads on > the same core. So icp_native_cause_ipi checks if the destination cpu > is a sibling thread of the current cpu and uses doorbell in such cases. > > But while runnin

[PATCH] powerpc: Make doorbell check preemption safe

2015-05-19 Thread Shreyas B. Prabhu
Doorbell can be used to cause ipi on cpus which are sibling threads on the same core. So icp_native_cause_ipi checks if the destination cpu is a sibling thread of the current cpu and uses doorbell in such cases. But while running with CONFIG_PREEMPT=y, since this section is preemtible, we can run