linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjan@infradead.org>
To: "Dong, Chuanxiao" <chuanxiao.dong@intel.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
	"dwmw2@infradead.org" <dwmw2@infradead.org>,
	"Gao, Yunpeng" <yunpeng.gao@intel.com>,
	"Yuan, Hang" <hang.yuan@intel.com>
Subject: Re: [RFC][PATCH 1/1]nand/denali: Add runtime pm support for denali controller driver
Date: Mon, 6 Sep 2010 21:34:31 -0700	[thread overview]
Message-ID: <20100906213431.3758f14f@infradead.org> (raw)
In-Reply-To: <5D8008F58939784290FAB48F54975198278A3799CB@shsmsx502.ccr.corp.intel.com>

On Tue, 7 Sep 2010 12:03:40 +0800
"Dong, Chuanxiao" <chuanxiao.dong@intel.com> wrote:

> 
> > if you take the refcount every time you get a command, and drop a
> > count each time a command completes.... this is all not too
> > important.. it'll just work
> If I take the refcount every time I got a command and drop a count
> each time a command completes, the controller device will be resumed
> every time when it gets a command and suspended after it finishes a
> command. For a 4k page NAND, processing just 1M data will cause
> device resume/suspend 256 times....This will influence the
> performance...

so this is where you can tell the runtime PM system to use a timer, and
only turn on power saving after some idle time.

you don't need to do that yourself... the runtime PM system has this
capability built in!


-- 
Arjan van de Ven 	Intel Open Source Technology Centre
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org

      reply	other threads:[~2010-09-07  4:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-06  8:08 [RFC][PATCH 1/1]nand/denali: Add runtime pm support for denali controller driver Chuanxiao.Dong
2010-09-06 19:53 ` Arjan van de Ven
2010-09-07  2:12   ` Dong, Chuanxiao
2010-09-07  3:34     ` Arjan van de Ven
2010-09-07  4:03       ` Dong, Chuanxiao
2010-09-07  4:34         ` Arjan van de Ven [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=20100906213431.3758f14f@infradead.org \
    --to=arjan@infradead.org \
    --cc=chuanxiao.dong@intel.com \
    --cc=dwmw2@infradead.org \
    --cc=hang.yuan@intel.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=yunpeng.gao@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;
as well as URLs for NNTP newsgroup(s).