linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/21] CPUIdle: Minor cleanups for 3.13
@ 2013-09-22  1:20 Viresh Kumar
  2013-09-22  1:20 ` [PATCH 01/21] cpuidle: fix indentation of cpumask Viresh Kumar
                   ` (20 more replies)
  0 siblings, 21 replies; 70+ messages in thread
From: Viresh Kumar @ 2013-09-22  1:20 UTC (permalink / raw)
  To: rjw, daniel.lezcano
  Cc: linaro-kernel, patches, linux-pm, linux-kernel, Viresh Kumar

Hi Rafael/Daniel,

This is a small cleanup patchset for CPUIdle which can go in 3.13 if it looks
okay to you guys..

Mostly trivial patches but few are doing good/significant changes. Tested on my
thinkpad with suspend/resume and didn't found any broken stuff with it.

I a not very sure about this patch (As I don't know about all aspects of CPUIdle
framework):
  cpuidle: don't call poll_idle_init() for every cpu

--
viresh

Viresh Kumar (21):
  cpuidle: fix indentation of cpumask
  cpuidle: Fix comments in cpuidle core
  cpuidle: make __cpuidle_get_cpu_driver() inline
  cpuidle: make __cpuidle_device_init() return void
  cpuidle: make __cpuidle_driver_init() return void
  cpuidle: rearrange code in __cpuidle_driver_init()
  cpuidle: rearrange __cpuidle_register_device() to keep minimal exit
    points
  cpuidle: use cpuidle_disabled() instead of "off"
  cpuidle: merge two if() statements for checking error cases
  cpuidle: reduce code duplication inside cpuidle_idle_call()
  cpuidle: replace multiline statements with single line in
    cpuidle_idle_call()
  cpuidle: call cpuidle_get_driver() from after taking
    cpuidle_driver_lock
  cpuidle: use drv instead of cpuidle_driver in show_current_driver()
  cpuidle: coupled: don't compare cpu masks unnecessarily
  cpuidle: free all state kobjects from cpuidle_free_state_kobj()
  cpuidle: avoid unnecessary kzalloc/free of struct cpuidle_device_kobj
  cpuidle: avoid unnecessary kzalloc/free of struct cpuidle_driver_kobj
  cpuidle: don't call poll_idle_init() for every cpu
  cpuidle: create list of registered drivers
  cpuidle: don't calculate time-diff if entered_state == 0
  cpuidle: change governor from within cpuidle_replace_governor()

 drivers/cpuidle/coupled.c  |   9 +--
 drivers/cpuidle/cpuidle.c  |  95 +++++++------------------
 drivers/cpuidle/driver.c   | 171 ++++++++++++++++++++-------------------------
 drivers/cpuidle/governor.c |  24 +++----
 drivers/cpuidle/sysfs.c    |  74 +++++++-------------
 include/linux/cpuidle.h    |  25 +++++--
 6 files changed, 161 insertions(+), 237 deletions(-)

-- 
1.7.12.rc2.18.g61b472e


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

end of thread, other threads:[~2013-10-03 11:58 UTC | newest]

Thread overview: 70+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-22  1:20 [PATCH 00/21] CPUIdle: Minor cleanups for 3.13 Viresh Kumar
2013-09-22  1:20 ` [PATCH 01/21] cpuidle: fix indentation of cpumask Viresh Kumar
2013-09-22  1:20 ` [PATCH 02/21] cpuidle: Fix comments in cpuidle core Viresh Kumar
2013-09-22  1:20 ` [PATCH 03/21] cpuidle: make __cpuidle_get_cpu_driver() inline Viresh Kumar
2013-09-25 21:27   ` Daniel Lezcano
2013-09-22  1:20 ` [PATCH 04/21] cpuidle: make __cpuidle_device_init() return void Viresh Kumar
2013-09-22  1:20 ` [PATCH 05/21] cpuidle: make __cpuidle_driver_init() " Viresh Kumar
2013-09-23  9:58   ` Hongbo Zhang
2013-09-23 10:02     ` Viresh Kumar
2013-09-22  1:20 ` [PATCH 06/21] cpuidle: rearrange code in __cpuidle_driver_init() Viresh Kumar
2013-09-25 21:40   ` Daniel Lezcano
2013-09-26  5:01     ` Viresh Kumar
2013-09-22  1:20 ` [PATCH 07/21] cpuidle: rearrange __cpuidle_register_device() to keep minimal exit points Viresh Kumar
2013-09-25 21:49   ` Daniel Lezcano
2013-09-22  1:21 ` [PATCH 08/21] cpuidle: use cpuidle_disabled() instead of "off" Viresh Kumar
2013-09-25 21:52   ` Daniel Lezcano
2013-09-26  5:06     ` Viresh Kumar
2013-09-26  8:25       ` Daniel Lezcano
2013-09-22  1:21 ` [PATCH 09/21] cpuidle: merge two if() statements for checking error cases Viresh Kumar
2013-09-25 21:52   ` Daniel Lezcano
2013-09-22  1:21 ` [PATCH 10/21] cpuidle: reduce code duplication inside cpuidle_idle_call() Viresh Kumar
2013-09-25 22:01   ` Daniel Lezcano
2013-09-22  1:21 ` [PATCH 11/21] cpuidle: replace multiline statements with single line in cpuidle_idle_call() Viresh Kumar
2013-09-25 22:03   ` Daniel Lezcano
2013-09-26  5:51     ` Viresh Kumar
2013-09-26  7:55       ` Daniel Lezcano
2013-09-26  8:11         ` Viresh Kumar
2013-09-22  1:21 ` [PATCH 12/21] cpuidle: call cpuidle_get_driver() from after taking cpuidle_driver_lock Viresh Kumar
2013-09-25 22:04   ` Daniel Lezcano
2013-09-22  1:21 ` [PATCH 13/21] cpuidle: use drv instead of cpuidle_driver in show_current_driver() Viresh Kumar
2013-09-25 22:05   ` Daniel Lezcano
2013-09-22  1:21 ` [PATCH 14/21] cpuidle: coupled: don't compare cpu masks unnecessarily Viresh Kumar
2013-09-25 22:06   ` Daniel Lezcano
2013-09-26  0:25   ` Colin Cross
2013-09-26  6:36     ` Viresh Kumar
2013-09-26  6:50       ` Colin Cross
2013-09-22  1:21 ` [PATCH 15/21] cpuidle: free all state kobjects from cpuidle_free_state_kobj() Viresh Kumar
2013-09-25 22:09   ` Daniel Lezcano
2013-09-22  1:21 ` [PATCH 16/21] cpuidle: avoid unnecessary kzalloc/free of struct cpuidle_device_kobj Viresh Kumar
2013-09-25 22:12   ` Daniel Lezcano
2013-09-26  6:05     ` Viresh Kumar
2013-09-26  8:30       ` Daniel Lezcano
2013-09-22  1:21 ` [PATCH 17/21] cpuidle: avoid unnecessary kzalloc/free of struct cpuidle_driver_kobj Viresh Kumar
2013-09-25 22:16   ` Daniel Lezcano
2013-09-22  1:21 ` [PATCH 18/21] cpuidle: don't call poll_idle_init() for every cpu Viresh Kumar
2013-09-25 22:22   ` Daniel Lezcano
2013-09-26  6:09     ` Viresh Kumar
2013-09-26  8:28       ` Daniel Lezcano
2013-10-03 10:33         ` Viresh Kumar
2013-10-03 11:46           ` Daniel Lezcano
2013-09-22  1:21 ` [PATCH 19/21] cpuidle: create list of registered drivers Viresh Kumar
2013-09-25 22:30   ` Daniel Lezcano
2013-09-26  6:17     ` Viresh Kumar
2013-09-26  8:19       ` Daniel Lezcano
2013-09-28 21:33         ` Paul E. McKenney
2013-09-30 18:37           ` Daniel Lezcano
2013-10-03  4:38             ` Viresh Kumar
2013-10-03 10:47               ` Daniel Lezcano
2013-09-22  1:21 ` [PATCH 20/21] cpuidle: don't calculate time-diff if entered_state == 0 Viresh Kumar
2013-09-25 22:38   ` Daniel Lezcano
2013-09-26  6:24     ` Viresh Kumar
2013-09-26  8:25       ` Daniel Lezcano
2013-09-26  8:28         ` Viresh Kumar
2013-09-26  8:33           ` Daniel Lezcano
2013-09-22  1:21 ` [PATCH 21/21] cpuidle: change governor from within cpuidle_replace_governor() Viresh Kumar
2013-09-25 22:50   ` Daniel Lezcano
2013-09-26  6:37     ` Viresh Kumar
2013-09-26  8:20       ` Daniel Lezcano
2013-10-03 10:36         ` Viresh Kumar
2013-10-03 11:58           ` Daniel Lezcano

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).