kernel_optimize_test/Documentation/power
Tejun Heo a0acae0e88 freezer: unexport refrigerator() and update try_to_freeze() slightly
There is no reason to export two functions for entering the
refrigerator.  Calling refrigerator() instead of try_to_freeze()
doesn't save anything noticeable or removes any race condition.

* Rename refrigerator() to __refrigerator() and make it return bool
  indicating whether it scheduled out for freezing.

* Update try_to_freeze() to return bool and relay the return value of
  __refrigerator() if freezing().

* Convert all refrigerator() users to try_to_freeze().

* Update documentation accordingly.

* While at it, add might_sleep() to try_to_freeze().

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Samuel Ortiz <samuel@sortiz.org>
Cc: Chris Mason <chris.mason@oracle.com>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: Steven Whitehouse <swhiteho@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jan Kara <jack@suse.cz>
Cc: KONISHI Ryusuke <konishi.ryusuke@lab.ntt.co.jp>
Cc: Christoph Hellwig <hch@infradead.org>
2011-11-21 12:32:22 -08:00
..
regulator
00-INDEX PM / Documentation: Update docs about suspend and CPU hotplug 2011-10-22 00:22:28 +02:00
apm-acpi.txt
basic-pm-debugging.txt Merge branch 'pm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm 2011-10-25 15:18:39 +02:00
devices.txt PM / Hibernate: Freeze kernel threads after preallocating memory 2011-10-16 23:28:52 +02:00
drivers-testing.txt
freezing-of-tasks.txt freezer: unexport refrigerator() and update try_to_freeze() slightly 2011-11-21 12:32:22 -08:00
interface.txt
notifiers.txt
opp.txt
pci.txt
pm_qos_interface.txt
power_supply_class.txt
runtime_pm.txt PM / Runtime: Automatically retry failed autosuspends 2011-11-04 22:28:14 +01:00
s2ram.txt
states.txt
suspend-and-cpuhotplug.txt PM / Documentation: Update docs about suspend and CPU hotplug 2011-10-22 00:22:28 +02:00
swsusp-and-swap-files.txt
swsusp-dmcrypt.txt
swsusp.txt
tricks.txt
userland-swsusp.txt
video_extension.txt
video.txt