linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 00/14] cpufreq: stats: cleanups
@ 2015-01-02  5:46 Viresh Kumar
  2015-01-02  5:46 ` [PATCH V2 01/14] cpufreq: stats: don't break strings into multiple lines Viresh Kumar
                   ` (14 more replies)
  0 siblings, 15 replies; 39+ messages in thread
From: Viresh Kumar @ 2015-01-02  5:46 UTC (permalink / raw)
  To: Rafael Wysocki; +Cc: linaro-kernel, linux-pm, prarit, skannan, Viresh Kumar

This is a resend of cpufreq stats cleanups I had for sometime. Few issues were
reported from Fenguang's bot and are all fixed now and are stable..

V1->V2:
- Reviewed-by Prarit
- Replaced lock with mutex as we may sleep from within critical region and so a
  new patch "cpufreq: stats: replace spinlock with mutex".

Pushed here:
git://git.linaro.org/people/viresh.kumar/linux.git cpufreq/stats/cleanups

Viresh Kumar (14):
  cpufreq: stats: don't break strings into multiple lines
  cpufreq: stats: return -EEXIST when stats are already allocated
  cpufreq: stats: don't check for freq table while freeing stats
  cpufreq: stats: pass 'stat' to cpufreq_stats_update()
  cpufreq: stats: get rid of per-cpu cpufreq_stats_table
  cpufreq: Remove (now) unused 'last_cpu' from struct cpufreq_policy
  cpufreq: stats: remove cpufreq_stats_update_policy_cpu()
  cpufreq: remove CPUFREQ_UPDATE_POLICY_CPU notifications
  cpufreq: stats: create sysfs group once we are ready
  cpufreq: stats: don't update stats from show_trans_table()
  cpufreq: stats: don't update stats on false notifiers
  cpufreq: stats: replace spinlock with mutex
  cpufreq: stats: Fix locking
  cpufreq: stats: call cpufreq_stats_update() with locks held

 drivers/cpufreq/cpufreq.c       |   6 --
 drivers/cpufreq/cpufreq_stats.c | 148 ++++++++++++++++++----------------------
 include/linux/cpufreq.h         |  10 +--
 3 files changed, 73 insertions(+), 91 deletions(-)

-- 
2.2.0


^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2015-01-06  3:42 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-02  5:46 [PATCH V2 00/14] cpufreq: stats: cleanups Viresh Kumar
2015-01-02  5:46 ` [PATCH V2 01/14] cpufreq: stats: don't break strings into multiple lines Viresh Kumar
2015-01-03 21:57   ` Rafael J. Wysocki
2015-01-04  3:15     ` Viresh Kumar
2015-01-02  5:46 ` [PATCH V2 02/14] cpufreq: stats: return -EEXIST when stats are already allocated Viresh Kumar
2015-01-03 21:58   ` Rafael J. Wysocki
2015-01-04  3:18     ` Viresh Kumar
2015-01-05 23:52       ` Rafael J. Wysocki
2015-01-06  3:42         ` Viresh Kumar
2015-01-02  5:46 ` [PATCH V2 03/14] cpufreq: stats: don't check for freq table while freeing stats Viresh Kumar
2015-01-02  5:46 ` [PATCH V2 04/14] cpufreq: stats: pass 'stat' to cpufreq_stats_update() Viresh Kumar
2015-01-03 22:04   ` Rafael J. Wysocki
2015-01-05  4:04     ` Viresh Kumar
     [not found]       ` <OF5E9CEA82.619493CC-ONC1257DC4.0027BC08-C1257DC4.0027BC14@lonatigroup.com>
2015-01-05  7:25         ` [PATCH V2 04/14] cpufreq: stats: pass 'stat' to cpufreq_stats_update() * Viresh Kumar
2015-01-02  5:46 ` [PATCH V2 05/14] cpufreq: stats: get rid of per-cpu cpufreq_stats_table Viresh Kumar
2015-01-03 22:20   ` Rafael J. Wysocki
2015-01-05  4:23     ` Viresh Kumar
2015-01-05 23:38       ` Rafael J. Wysocki
2015-01-02  5:46 ` [PATCH V2 06/14] cpufreq: Remove (now) unused 'last_cpu' from struct cpufreq_policy Viresh Kumar
2015-01-02  5:46 ` [PATCH V2 07/14] cpufreq: stats: remove cpufreq_stats_update_policy_cpu() Viresh Kumar
2015-01-03 22:25   ` Rafael J. Wysocki
2015-01-05  4:26     ` Viresh Kumar
2015-01-02  5:46 ` [PATCH V2 08/14] cpufreq: remove CPUFREQ_UPDATE_POLICY_CPU notifications Viresh Kumar
2015-01-03 22:28   ` Rafael J. Wysocki
2015-01-05  4:27     ` Viresh Kumar
2015-01-02  5:46 ` [PATCH V2 09/14] cpufreq: stats: create sysfs group once we are ready Viresh Kumar
2015-01-02  5:46 ` [PATCH V2 10/14] cpufreq: stats: don't update stats from show_trans_table() Viresh Kumar
2015-01-02  5:46 ` [PATCH V2 11/14] cpufreq: stats: don't update stats on false notifiers Viresh Kumar
2015-01-03 22:36   ` Rafael J. Wysocki
2015-01-02  5:46 ` [PATCH V2 12/14] cpufreq: stats: replace spinlock with mutex Viresh Kumar
2015-01-03 22:38   ` Rafael J. Wysocki
2015-01-02  5:46 ` [PATCH V2 13/14] cpufreq: stats: Fix locking Viresh Kumar
2015-01-03 22:43   ` Rafael J. Wysocki
2015-01-05  8:06     ` Viresh Kumar
2015-01-05 23:35       ` Rafael J. Wysocki
2015-01-06  3:34         ` Viresh Kumar
2015-01-02  5:46 ` [PATCH V2 14/14] cpufreq: stats: call cpufreq_stats_update() with locks held Viresh Kumar
2015-01-03 22:48   ` Rafael J. Wysocki
2015-01-02 13:08 ` [PATCH V2 00/14] cpufreq: stats: cleanups Prarit Bhargava

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).