Messages in this thread | | | Date | Tue, 6 Dec 2011 08:35:29 -0800 | From | Tejun Heo <> | 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@linux.vnet.ibm.com>
Acked-by: Tejun Heo <tj@kernel.org>
-- tejun
| |