lkml.org 
[lkml]   [2020]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] cpufreq: Record stats with fast-switching
Date
Hi,

We disabled recording cpufreq stats when fast switching was introduced
to the cpufreq core as the cpufreq stats required to take a spinlock and
that can't be allowed (for performance reasons) on scheduler's hot path.

Here is an attempt to get rid of the lock and bring back the support.

--
Viresh

Viresh Kumar (4):
cpufreq: stats: Defer stats update to
cpufreq_stats_record_transition()
cpufreq: stats: Remove locking
cpufreq: stats: Enable stats for fast-switch as well
cpufreq: Move traces and update to policy->cur to cpufreq core

drivers/cpufreq/cpufreq.c | 16 +++++-
drivers/cpufreq/cpufreq_stats.c | 87 ++++++++++++++++++++------------
kernel/sched/cpufreq_schedutil.c | 12 +----
3 files changed, 72 insertions(+), 43 deletions(-)

--
2.25.0.rc1.19.g042ed3e048af

\
 
 \ /
  Last update: 2020-09-02 09:25    [W:0.110 / U:0.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site