[RFC PATCH 6/8] irq_work: Handle queuing without IPI support in dyntick idle mode

2012-10-20 Thread Frederic Weisbecker
If we enqueue a work while in dyntick idle mode and the arch doesn't have self-IPI support, we may not find an opportunity to run the work before a while. In this case, exit the idle loop to re-evaluate irq_work_needs_cpu() and restart the tick. Signed-off-by: Frederic Weisbecker Cc: Peter

[RFC PATCH 6/8] irq_work: Handle queuing without IPI support in dyntick idle mode

2012-10-20 Thread Frederic Weisbecker
If we enqueue a work while in dyntick idle mode and the arch doesn't have self-IPI support, we may not find an opportunity to run the work before a while. In this case, exit the idle loop to re-evaluate irq_work_needs_cpu() and restart the tick. Signed-off-by: Frederic Weisbecker