[PATCH RT 7/8] stomp_machine: Use mutex_trylock when called from inactive cpu

2012-10-11 Thread Steven Rostedt
From: Thomas Gleixner If the stop machinery is called from inactive CPU we cannot use mutex_lock, because some other stomp machine invokation might be in progress and the mutex can be contended. We cannot schedule from this context, so trylock and loop. Signed-off-by: Thomas Gleixner Cc:

[PATCH RT 7/8] stomp_machine: Use mutex_trylock when called from inactive cpu

2012-10-11 Thread Steven Rostedt
From: Thomas Gleixner t...@linutronix.de If the stop machinery is called from inactive CPU we cannot use mutex_lock, because some other stomp machine invokation might be in progress and the mutex can be contended. We cannot schedule from this context, so trylock and loop. Signed-off-by: Thomas

[PATCH RT 7/8] stomp_machine: Use mutex_trylock when called from inactive cpu

2012-10-10 Thread Steven Rostedt
From: Thomas Gleixner If the stop machinery is called from inactive CPU we cannot use mutex_lock, because some other stomp machine invokation might be in progress and the mutex can be contended. We cannot schedule from this context, so trylock and loop. Signed-off-by: Thomas Gleixner Cc:

[PATCH RT 7/8] stomp_machine: Use mutex_trylock when called from inactive cpu

2012-10-10 Thread Steven Rostedt
From: Thomas Gleixner t...@linutronix.de If the stop machinery is called from inactive CPU we cannot use mutex_lock, because some other stomp machine invokation might be in progress and the mutex can be contended. We cannot schedule from this context, so trylock and loop. Signed-off-by: Thomas