Messages in this thread | | | Date | Mon, 5 Dec 2011 09:15:08 -0800 | From | Tejun Heo <> | Subject | Re: [PATCH 3/3] PM / Docs: Recommend the use of [un]lock_system_sleep() over mutex_[un]lock(&pm_mutex) |
| |
Hello,
On Mon, Dec 05, 2011 at 01:33:42AM +0530, Srivatsa S. Bhat wrote: > Update the documentation to explain the perils of directly using > mutex_[un]lock(&pm_mutex) and recommend the usage of the safe > APIs [un]lock_system_sleep() instead.
Maybe just make it pm internal?
-- tejun
| |