summaryrefslogtreecommitdiffstats
path: root/kernel/power
diff options
context:
space:
mode:
authorSrivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>2012-02-04 22:26:26 +0100
committerRafael J. Wysocki <rjw@sisk.pl>2012-02-09 23:55:49 +0100
commit9045a05044268b075c13bb0284601b24959dc3c6 (patch)
tree4fc43dc0e901f565e37219ba59ea305409fb8be7 /kernel/power
parent8916e3702ec422b57cc549fbae3986106292100f (diff)
downloadlinux-9045a05044268b075c13bb0284601b24959dc3c6.tar.bz2
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