public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: mgross@linux.intel.com
Cc: linux-pm <linux-pm@lists.linux-foundation.org>,
	lkml <linux-kernel@vger.kernel.org>
Subject: Re: [RFC] QoS params patch
Date: Fri, 28 Sep 2007 11:51:41 -0700	[thread overview]
Message-ID: <20070928115141.c5a7c9da.akpm@linux-foundation.org> (raw)
In-Reply-To: <20070928171921.GA3219@linux.intel.com>

On Fri, 28 Sep 2007 10:19:21 -0700 Mark Gross <mgross@linux.intel.com> wrote:

> On Thu, Sep 27, 2007 at 11:25:01PM -0700, Andrew Morton wrote:
> > On Wed, 26 Sep 2007 15:40:26 -0700 Mark Gross <mgross@linux.intel.com> wrote:
> > 
> > > +#define QOS_RESERVED 0
> > > +#define QOS_CPU_DMA_LATENCY 1
> > > +#define QOS_NETWORK_LATENCY 2
> > > +#define QOS_NETWORK_THROUGHPUT 3
> > > +
> > > +#define QOS_NUM_CLASSES 4
> > > +#define QOS_DEFAULT_VALUE -1
> > > +
> > > +int qos_add_requirement(int qos, char *name, s32 value);
> > > +int qos_update_requirement(int qos, char *name, s32 new_value);
> > > +void qos_remove_requirement(int qos, char *name);
> > 
> > It's a bit rude stealing the entire "qos" namespace like this - there are
> > many different forms of QoS, some already in-kernel.
> > 
> > s/qos/pm_qos/g ?
> 
> I suppose it is a bit inconiderate.  I could grow to like pm_qos,
> performance_throttling_constraint_hint_infrastructure is a bit too
> wordy. 
> 
> I suppose I should use qospm as thats the way it was put up on that
> lesswatts.org web page. 
> 
> Would qospm be good enough?
> 

Don't think it matters a lot, but kernel naming tends to be big-endian (ie:
we have net_ratelimit, not ratelimit_net), so the major part (pm) would
come first under that scheme.


  reply	other threads:[~2007-09-28 18:51 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-26 22:37 [RFC] QoS power Management enabling patch set Mark Gross
2007-09-26 22:40 ` [RFC] QoS params patch Mark Gross
2007-09-26 23:41   ` Randy Dunlap
2007-09-27  0:40     ` Mark Gross
2007-09-27  2:53       ` Valdis.Kletnieks
2007-09-27  3:18         ` Paul Mundt
2007-09-27 15:17           ` Mark Gross
2007-09-27 15:36         ` Mark Gross
2007-09-27 13:00       ` roel
2007-09-27  2:24   ` Paul Mundt
2007-09-27  4:05     ` Randy Dunlap
2007-09-27 15:37       ` Mark Gross
2007-09-27 20:17       ` [RFC] QoS params patch update Mark Gross
2007-09-28  0:08         ` Paul Mundt
2007-09-27 16:21     ` [RFC] QoS params patch Mark Gross
2007-09-28  6:25   ` Andrew Morton
2007-09-28  6:41     ` Paul Mundt
2007-09-28 17:22       ` Mark Gross
2007-09-28 17:19     ` Mark Gross
2007-09-28 18:51       ` Andrew Morton [this message]
2007-10-01 16:11         ` Mark Gross
2007-09-26 22:42 ` [RFC] QoS power Management enabling patch set Mark Gross
2007-09-26 22:45 ` [RFC] QoS power example / hack Mark Gross

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=20070928115141.c5a7c9da.akpm@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=mgross@linux.intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox