On 28-10-15, 08:33, Rafael J. Wysocki wrote:
It looks like we shouldn't be using delayed works for this, really.
We should be using timer functions and normal work items. Schedule the timer function on all CPUs sharing the policy and then queue up the work item from the first one that executes the timer. Then make the timer function bail out immediately until the work has completed and re-schedule the timers from the work item.
Okay, I will try to get some code out for that then.