Re: [PATCH] cpufreq: stats: Use lock by stat to replace global spin lock

2019-04-07 Thread Viresh Kumar
On 26-03-19, 11:43, Matthias Kaehlcke wrote: > On Mon, Mar 25, 2019 at 03:29:33PM +0800, Kyle Lin wrote: > > Stats is updated by each policy, using the lock by stat can > > reduce the contention. > > > > Signed-off-by: Kyle Lin > > --- > > drivers/cpufreq/cpufreq_stats.c | 15 --- > >

Re: [PATCH] cpufreq: stats: Use lock by stat to replace global spin lock

2019-03-26 Thread Matthias Kaehlcke
On Mon, Mar 25, 2019 at 03:29:33PM +0800, Kyle Lin wrote: > Stats is updated by each policy, using the lock by stat can > reduce the contention. > > Signed-off-by: Kyle Lin > --- > drivers/cpufreq/cpufreq_stats.c | 15 --- > 1 file changed, 8 insertions(+), 7 deletions(-) > > diff -

[PATCH] cpufreq: stats: Use lock by stat to replace global spin lock

2019-03-25 Thread Kyle Lin
Stats is updated by each policy, using the lock by stat can reduce the contention. Signed-off-by: Kyle Lin --- drivers/cpufreq/cpufreq_stats.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/cpufreq/cpufreq_stats.c b/drivers/cpufreq/cpufreq_stats.c ind