diff options
author | Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> | 2012-02-04 22:26:26 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-02-09 23:55:49 +0100 |
commit | 9045a05044268b075c13bb0284601b24959dc3c6 (patch) | |
tree | 4fc43dc0e901f565e37219ba59ea305409fb8be7 /kernel/power | |
parent | 8916e3702ec422b57cc549fbae3986106292100f (diff) | |
download | op-kernel-dev-9045a05044268b075c13bb0284601b24959dc3c6.zip op-kernel-dev-9045a05044268b075c13bb0284601b24959dc3c6.tar.gz |
PM / Freezer / Docs: Document the beauty of freeze/thaw semantics
The way the different freeze/thaw functions encapsulate each other are quite
lovely from a design point of view. And as a side-effect, the way in which
they are invoked (cleaning up on failure for example) differs significantly
from how usual functions are dealt with. This is because of the underlying
semantics that govern the freezing and thawing of various tasks.
This subtle aspect that differentiates these functions from the rest, is
worth documenting.
Many thanks to Tejun Heo for providing enlightenment on this topic.
Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions