[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111206163529.GB11747@google.com>
Date: Tue, 6 Dec 2011 08:35:29 -0800
From: Tejun Heo <tj@...nel.org>
To: "Srivatsa S. Bhat" <srivatsa.bhat@...ux.vnet.ibm.com>
Cc: rjw@...k.pl, pavel@....cz, len.brown@...el.com, oleg@...hat.com,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org
Subject: Re: [PATCH 2/2] PM: Use the freezer_count() functions in
[un]lock_system_sleep() APIs
On Tue, Dec 06, 2011 at 09:34:02PM +0530, Srivatsa S. Bhat wrote:
> Now that freezer_count() and freezer_do_not_count() don't have the restriction
> that they are effective only when called by userspace processes, use
> them in lock_system_sleep() and unlock_system_sleep() instead of open-coding
> their parts.
>
> Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@...ux.vnet.ibm.com>
Acked-by: Tejun Heo <tj@...nel.org>
--
tejun
--
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