[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20151028083424.GF30039@ubuntu>
Date: Wed, 28 Oct 2015 14:04:24 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: "Rafael J. Wysocki" <rjw@...ysocki.net>
Cc: linaro-kernel@...ts.linaro.org, linux-pm@...r.kernel.org,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH V3 3/5] cpufreq: ondemand: queue work for policy->cpus
together
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists