[PATCH v3 0/2] cpufreq: cpufreq_driver_lock is hot on large systems
From: Nathan Zimmer
Date: Wed Feb 20 2013 - 19:01:54 EST
I am noticing the cpufreq_driver_lock is quite hot.
On an idle 512 system perf shows me most of the system time is spent on this
lock. This is quite significant as top shows 5% of time in system time.
My solution was to first convert the lock to a rwlock and then to the rcu.
v3: Read the RCU documentation instead of skimming it. Also I based on
I assumed that was what you would prefer Rafael.
Nathan Zimmer (2):
cpufreq: Convert the cpufreq_driver_lock to a rwlock
cpufreq: Convert the cpufreq_driver_lock to use the rcu
drivers/cpufreq/cpufreq.c | 286 ++++++++++++++++++++++++++++++++++------------
1 file changed, 211 insertions(+), 75 deletions(-)
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/