All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir.fraser@eu.citrix.com>
To: "Liu, Jinsong" <jinsong.liu@intel.com>,
	Jan Beulich <jbeulich@novell.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] Revert Jan's patch (c/s 18879) since   now itcanbe achieved by xenpm tool now
Date: Tue, 23 Dec 2008 08:38:23 +0000	[thread overview]
Message-ID: <C57653FF.20850%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <706158FABBBA044BAD4FE898A02E4BC21C7FDB4A@pdsmsx503.ccr.corp.intel.com>

On 23/12/2008 02:29, "Liu, Jinsong" <jinsong.liu@intel.com> wrote:

> Some cpufreq governor may fail at init stage, i.e. performance governor cannot
> start at some platform with hardware flaw.
> In this case, if user select performance gov at cmdline, governor init will
> fail and then whole cpufreq init will fail, xen will have no cpufreq then.
> 
> Our idea is, first step cpufreq logic select a 'safe' governor as default,
> say, userspace governor. It will never fail, since it keep cpu freq just like
> it didn't work at init stage, so will not have any influence to perfromance,
> power, ..., etc.
> Second step, user can change to any other governor as he like, if fail,
> cpufreq logic can gracefully back to the 'old-safe-governor'.
> This way at least xen can ensure cpufreq logic successful, and safe change
> between different governors.

Two thoughts: Firstly, the user should be wary of such behaviour if they
have explicitly selected a governor on the command line. Secondly, if it is
appropriate to have cpufreq always on, why not hardcode a safe governor as a
fallback?

 -- Keir

  reply	other threads:[~2008-12-23  8:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-20 13:37 [PATCH] Revert Jan's patch (c/s 18879) since now it can be achieved by xenpm tool now Liu, Jinsong
2008-12-22  8:55 ` [PATCH] Revert Jan's patch (c/s 18879) since now it canbe " Jan Beulich
2008-12-22  9:40   ` Liu, Jinsong
2008-12-22 10:12     ` [PATCH] Revert Jan's patch (c/s 18879) since now itcanbe " Jan Beulich
2008-12-23  2:29       ` Liu, Jinsong
2008-12-23  8:38         ` Keir Fraser [this message]
2008-12-23  9:02           ` Liu, Jinsong
2008-12-23  9:06             ` Keir Fraser
2008-12-23  9:34               ` [PATCH] Revert Jan's patch (c/s 18879) since nowitcanbe " Jan Beulich

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=C57653FF.20850%keir.fraser@eu.citrix.com \
    --to=keir.fraser@eu.citrix.com \
    --cc=jbeulich@novell.com \
    --cc=jinsong.liu@intel.com \
    --cc=xen-devel@lists.xensource.com \
    /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.