All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC v2 PATCH 0/6] cpuidle: Make cpuidle governor switchable to be the default behaviour
@ 2020-04-30  8:39 Hanjun Guo
  2020-04-30  8:39 ` [RFC v2 PATCH 1/6] cpuidle: sysfs: Fix the overlap for showing available governors Hanjun Guo
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Hanjun Guo @ 2020-04-30  8:39 UTC (permalink / raw)
  To: Rafael J. Wysocki, Daniel Lezcano, Doug Smythies
  Cc: linux-pm, Jonathan Corbet, Hanjun Guo

For now cpuidle governor can be switched via sysfs only when the
boot option "cpuidle_sysfs_switch" is passed, but it's important
to switch the governor to adapt to different workloads, especially
after TEO and haltpoll governor were introduced.

Make cpuidle governor switchable to be the default behaviour by removing
the sysfs_switch and switch attributes, also update the document as well.

v1->v2:
 - Add two bugfix patch which can be triggered if the governor name is 15
   characters, it is not a 'real' bug for now as we don't have such usecases
   so we can merge them together via this patchset.
 - Remove the sysfs_switch, not introduce a CONFIG option to make cpuidle
   governor switchable in default, suggested by Daniel.
 - Update the document after cpuidle_sysfs_switch is removed, suggested by
   Doug Smythies.

Hanjun Guo (6):
  cpuidle: sysfs: Fix the overlap for showing available governors
  cpuidle: sysfs: Accept governor name with 15 characters
  cpuidle: Make cpuidle governor switchable to be the default behaviour
  cpuidle: sysfs: Remove sysfs_switch and switch attributes
  Documentation: cpuidle: update the document
  Documentation: ABI: make current_governer_ro as a candidate for
    removal

 Documentation/ABI/obsolete/sysfs-cpuidle           |  9 ++++
 Documentation/ABI/testing/sysfs-devices-system-cpu | 24 ++++------
 Documentation/admin-guide/pm/cpuidle.rst           | 20 ++++----
 Documentation/driver-api/pm/cpuidle.rst            |  5 +-
 drivers/cpuidle/sysfs.c                            | 56 ++++++----------------
 5 files changed, 44 insertions(+), 70 deletions(-)
 create mode 100644 Documentation/ABI/obsolete/sysfs-cpuidle

-- 
1.7.12.4


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

end of thread, other threads:[~2020-05-19  2:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-30  8:39 [RFC v2 PATCH 0/6] cpuidle: Make cpuidle governor switchable to be the default behaviour Hanjun Guo
2020-04-30  8:39 ` [RFC v2 PATCH 1/6] cpuidle: sysfs: Fix the overlap for showing available governors Hanjun Guo
2020-05-18 14:20   ` Daniel Lezcano
2020-05-19  1:59     ` Hanjun Guo
2020-04-30  8:39 ` [RFC v2 PATCH 2/6] cpuidle: sysfs: Accept governor name with 15 characters Hanjun Guo
2020-04-30  8:39 ` [RFC v2 PATCH 3/6] cpuidle: Make cpuidle governor switchable to be the default behaviour Hanjun Guo
2020-05-18 14:24   ` Daniel Lezcano
2020-04-30  8:39 ` [RFC v2 PATCH 4/6] cpuidle: sysfs: Remove sysfs_switch and switch attributes Hanjun Guo
2020-05-18 20:19   ` Daniel Lezcano
2020-04-30  8:39 ` [RFC v2 PATCH 5/6] Documentation: cpuidle: update the document Hanjun Guo
2020-04-30  8:39 ` [RFC v2 PATCH 6/6] Documentation: ABI: make current_governer_ro as a candidate for removal Hanjun Guo
2020-05-18 14:27   ` Daniel Lezcano
2020-05-19  2:04   ` Hanjun Guo
2020-05-12 21:17 ` [RFC v2 PATCH 0/6] cpuidle: Make cpuidle governor switchable to be the default behaviour Doug Smythies

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.