Re: [PATCH] cpufreq: convert the cpufreq_driver to use the rcu

2013-04-03 Thread Nathan Zimmer
On 04/03/2013 10:32 AM, Viresh Kumar wrote: Please always mention Version number and history. Not everybody remembers what changed after last version. Your right. I was rushing and forgot. I need to develop the habit of adding some history to my git commits when I amend them. On 3 April

Re: [PATCH] cpufreq: convert the cpufreq_driver to use the rcu

2013-04-03 Thread Viresh Kumar
Please always mention Version number and history. Not everybody remembers what changed after last version. On 3 April 2013 20:33, Nathan Zimmer wrote: > We eventually would like to remove the rwlock cpufreq_driver_lock or convert > it back to a spinlock and protect the read sections with RCU.

[PATCH] cpufreq: convert the cpufreq_driver to use the rcu

2013-04-03 Thread Nathan Zimmer
We eventually would like to remove the rwlock cpufreq_driver_lock or convert it back to a spinlock and protect the read sections with RCU. The first step in that is moving the cpufreq_driver to use the RCU for its read areas. I don't see an easy wasy to protect the cpufreq_cpu_data structure with

[PATCH] cpufreq: convert the cpufreq_driver to use the rcu

2013-04-03 Thread Nathan Zimmer
We eventually would like to remove the rwlock cpufreq_driver_lock or convert it back to a spinlock and protect the read sections with RCU. The first step in that is moving the cpufreq_driver to use the RCU for its read areas. I don't see an easy wasy to protect the cpufreq_cpu_data structure with

Re: [PATCH] cpufreq: convert the cpufreq_driver to use the rcu

2013-04-03 Thread Viresh Kumar
Please always mention Version number and history. Not everybody remembers what changed after last version. On 3 April 2013 20:33, Nathan Zimmer nzim...@sgi.com wrote: We eventually would like to remove the rwlock cpufreq_driver_lock or convert it back to a spinlock and protect the read sections

Re: [PATCH] cpufreq: convert the cpufreq_driver to use the rcu

2013-04-03 Thread Nathan Zimmer
On 04/03/2013 10:32 AM, Viresh Kumar wrote: Please always mention Version number and history. Not everybody remembers what changed after last version. Your right. I was rushing and forgot. I need to develop the habit of adding some history to my git commits when I amend them. On 3 April