RE: [PATCH 3/3] cpuidle: coupled: fix race condition between pokes and safe state

2013-08-27 Thread Neil Zhang
socki; Daniel Lezcano > Subject: [PATCH 3/3] cpuidle: coupled: fix race condition between pokes and > safe > state > > The coupled cpuidle waiting loop clears pending pokes before entering the safe > state. If a poke arrives just before the pokes are cleared, but after the > wh

[PATCH 3/3] cpuidle: coupled: fix race condition between pokes and safe state

2013-08-23 Thread Colin Cross
The coupled cpuidle waiting loop clears pending pokes before entering the safe state. If a poke arrives just before the pokes are cleared, but after the while loop condition checks, the poke will be lost and the cpu will stay in the safe state until another interrupt arrives. This may cause the c