From: Pavel Machek <pavel@ucw.cz>
To: "Scott E. Preece" <preece@motorola.com>
Cc: daviado@gmail.com, linux-pm@lists.osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [linux-pm] OpPoint summary
Date: Mon, 18 Sep 2006 15:46:46 +0200 [thread overview]
Message-ID: <20060918134646.GF5370@elf.ucw.cz> (raw)
In-Reply-To: <200609181336.k8IDa7xp025747@olwen.urbana.css.mot.com>
H!
> | > +static struct oppoint lowest = {
> | > + .name = "lowest",
> | > + .type = PM_FREQ_CHANGE,
> | > + .frequency = 0,
> | > + .voltage = 0,
> | > + .latency = 15,
> | > + .prepare_transition = cpufreq_prepare_transition,
> | > + .transition = centrino_transition,
> | > + .finish_transition = cpufreq_finish_transition,
> | > +};
> |
> | We had nice, descriptive interface... with numbers. Now you want to
> | introduce english state names... looks like a step back to me.
> ---
>
> Well, a single number is fine if you're describing a scalar abstraction,
> but an operating point is a vector. You can't assume that "399" is three
> times "133" in performance or energy cost, so its "numberness" is simply
> misleading.
"lowest" can simply be mapped to "0", with "low" mapped to "1",
etc.
I believe, using english names is wrong in this case. If you want to
provide vectors... well provide the vectors. Is "medium" operating
point 1GHz on cpu 0 and 2GHz on cpu 1, or is it 1.5 ghz on cpu 0 and
1.5 ghz on cpu 1?
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2006-09-18 13:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-18 13:36 [linux-pm] OpPoint summary Scott E. Preece
2006-09-18 13:46 ` Pavel Machek [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-09-11 8:20 community PM requirements/issues and PowerOP [Was: Re: So, what's the status on the recent patches here?] Pavel Machek
2006-09-11 19:55 ` Pavel Machek
2006-09-11 20:53 ` Eugeny S. Mints
2006-09-11 21:00 ` Pavel Machek
2006-09-11 22:05 ` Eugeny S. Mints
2006-09-11 22:56 ` cpufreq terminally broken [was Re: community PM requirements/issues and PowerOP] Pavel Machek
2006-09-12 0:17 ` Mark Gross
2006-09-12 3:37 ` Greg KH
2006-09-13 23:50 ` [linux-pm] " David Singleton
2006-09-14 5:55 ` OpPoint summary Greg KH
2006-09-14 7:35 ` [linux-pm] " Vitaly Wool
2006-09-14 17:07 ` David Singleton
2006-09-14 17:25 ` Auke Kok
2006-09-14 18:15 ` [linux-pm] " Vitaly Wool
2006-09-17 17:48 ` Pavel Machek
2006-09-18 14:33 ` [linux-pm] " Richard A. Griffiths
2006-09-18 16:13 ` Matthew Locke
2006-09-17 5:07 ` David Singleton
2006-09-17 22:43 ` [linux-pm] " Matthew Locke
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=20060918134646.GF5370@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=daviado@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.osdl.org \
--cc=preece@motorola.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.