All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <jdelvare@suse.de>
To: linux-pm@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>,
	Zhang Rui <rui.zhang@intel.com>,
	"Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Daniel Lezcano <daniel.lezcano@linaro.org>
Subject: [PATCH 3/3] cpuidle: Don't enable all governors by default
Date: Mon, 11 Jan 2016 17:43:02 +0100	[thread overview]
Message-ID: <20160111174302.34294818@endymion.delvare> (raw)
In-Reply-To: <20160111173915.63ec1bcd@endymion.delvare>

Since commit d6f346f2d2 ("cpuidle: improve governor Kconfig options")
the best cpuidle governor is selected automatically. There is little
point in additionally selecting the other as it will not be used. So
don't make it the default.

Being able to select more than one governor is still good for
developers booting with cpuidle_sysfs_switch.

This fixes the second half of bug #65531:
https://bugzilla.kernel.org/show_bug.cgi?id=65531

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Zhang Rui <rui.zhang@intel.com>
---
 drivers/cpuidle/Kconfig |    2 --
 1 file changed, 2 deletions(-)

--- linux-4.4.orig/drivers/cpuidle/Kconfig	2016-01-11 00:01:32.000000000 +0100
+++ linux-4.4/drivers/cpuidle/Kconfig	2016-01-11 17:06:44.294720023 +0100
@@ -19,11 +19,9 @@ config CPU_IDLE_MULTIPLE_DRIVERS
 
 config CPU_IDLE_GOV_LADDER
 	bool "Ladder governor (for periodic timer tick)"
-	default y
 
 config CPU_IDLE_GOV_MENU
 	bool "Menu governor (for tickless system)"
-	default y
 
 config DT_IDLE_STATES
 	bool

-- 
Jean Delvare
SUSE L3 Support

      parent reply	other threads:[~2016-01-11 16:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-11 16:39 [PATCH 0/3] Use the ladder cpuidle governor when appropriate Jean Delvare
2016-01-11 16:40 ` [PATCH 1/3] Subject: nohz: Expose tick_nohz_enabled Jean Delvare
2016-01-11 16:44   ` Jean Delvare
2016-01-11 17:10   ` Thomas Gleixner
2016-01-11 16:41 ` [PATCH 2/3] cpuidle: Default to ladder governor on ticking systems Jean Delvare
2016-01-11 16:43 ` Jean Delvare [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160111174302.34294818@endymion.delvare \
    --to=jdelvare@suse.de \
    --cc=daniel.lezcano@linaro.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rjw@rjwysocki.net \
    --cc=rui.zhang@intel.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.