[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1205151037500.1796-100000@iolanthe.rowland.org>
Date: Tue, 15 May 2012 10:39:34 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Lin Ming <ming.m.lin@...el.com>
cc: Jens Axboe <axboe@...nel.dk>, <linux-kernel@...r.kernel.org>,
<linux-pm@...r.kernel.org>, <linux-scsi@...r.kernel.org>
Subject: Re: [RFC PATCH 3/3] block: add queue idle timer
On Tue, 15 May 2012, Lin Ming wrote:
> Add an idle timer that is set to some suitable timeout and would be
> added when the queue first goes empty. If nothing has happened during
> the timeout interval, then the queue is suspended.
You don't need to create an idle timer for runtime PM support; the
runtime PM framework already has such a timer. Read
Documentation/power/runtime_pm.txt, especially the parts describing
pm_runtime_autosuspend() and related functions.
Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists