Re: [PATCH V3 3/5] cpufreq: ondemand: queue work for policy->cpus together
From: Viresh Kumar
Date: Wed Oct 28 2015 - 04:34:41 EST
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.
--
viresh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/