aboutsummaryrefslogtreecommitdiffstats
path: root/sound/aoa/aoa.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2012-10-16 18:03:14 -0400
committerTejun Heo <tj@kernel.org>2012-10-20 19:33:08 -0400
commitb4d18311d37b0b1b370a1ef3e4de92b97930f0a8 (patch)
treeca43c69c402de2cf67dc45e45ab90f86b489ff9c /sound/aoa/aoa.h
parent8755ade683241e8c6b8fe8d22d0ae35041a3dc51 (diff)
cgroup_freezer: prepare update_if_frozen() for locking change
Locking will change such that migration can happen while freezer_read/write() is in progress. This means that update_if_frozen() can no longer assume that all tasks in the cgroup coform to the current freezer state - newly migrated tasks which haven't finished freezer_attach() yet might be in any state. This patch updates update_if_frozen() such that it no longer verifies task states against freezer state. It now simply decides whether FREEZING stage is complete. This removal of verification makes it meaningless to call from freezer_change_state(). Drop it and move the fast exit test from freezer_read() - the only left caller - to update_if_frozen(). Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Rafael J. Wysocki <rjw@sisk.pl> Cc: Li Zefan <lizefan@huawei.com>
Diffstat (limited to 'sound/aoa/aoa.h')
0 files changed, 0 insertions, 0 deletions