android_kernel_google_msm/include
Colin Cross f44f3d1bb5 freezer: convert freezable helpers to freezer_do_not_count()
Freezing tasks will wake up almost every userspace task from
where it is blocking and force it to run until it hits a
call to try_to_sleep(), generally on the exit path from the syscall
it is blocking in.  On resume each task will run again, usually
restarting the syscall and running until it hits the same
blocking call as it was originally blocked in.

Convert the existing wait_event_freezable* wrappers to use
freezer_do_not_count().  Combined with a previous patch,
these tasks will not run during suspend or resume unless they wake
up for another reason, in which case they will run until they hit
the try_to_freeze() in freezer_count(), and then continue processing
the wakeup after tasks are thawed.

This results in a small change in behavior, previously a race
between freezing and a normal wakeup would be won by the wakeup,
now the task will freeze and then handle the wakeup after thawing.

Change-Id: I532e62251f58c1a9ca488b3fb6220c53acf7d33d
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2013-07-12 14:22:57 -07:00
..
acpi
asm-generic mutex: Place lock in contended state after fastpath_lock failure 2013-03-15 17:09:40 -07:00
crypto
drm
keys
linux freezer: convert freezable helpers to freezer_do_not_count() 2013-07-12 14:22:57 -07:00
math-emu
media camera: Support setting MWB and EV for yuv sensor. 2013-06-24 10:55:26 -07:00
misc
mtd
net nl80211/cfg80211: add VHT MCS support 2013-04-18 16:09:30 -07:00
pcmcia
rdma
rxrpc
scsi
sound ASoC: add definations for compressed operations 2013-04-18 16:08:45 -07:00
target
trace trace/events: fix gpu event timestamp formatting 2013-04-23 22:49:30 -07:00
video
xen
Kbuild