diff options
author | Tejun Heo <tj@kernel.org> | 2011-11-21 21:32:23 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2011-11-21 21:32:23 +0100 |
commit | a585042f7b933539a0b6bc63650c2d49ffb2e55d (patch) | |
tree | bb93d05050e04c4bcd53fdf535239e6312fb62e2 /kernel/freezer.c | |
parent | freezer: rename thaw_process() to __thaw_task() and simplify the implementation (diff) | |
download | linux-a585042f7b933539a0b6bc63650c2d49ffb2e55d.tar.xz linux-a585042f7b933539a0b6bc63650c2d49ffb2e55d.zip |
freezer: remove racy clear_freeze_flag() and set PF_NOFREEZE on dead tasks
clear_freeze_flag() in exit_mm() is racy. Freezing can start
afterwards. Remove it. Skipping freezer for exiting task will be
properly implemented later.
Also, freezable() was testing exit_state directly to make system
freezer ignore dead tasks. Let the exiting task set PF_NOFREEZE after
entering TASK_DEAD instead.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Diffstat (limited to 'kernel/freezer.c')
0 files changed, 0 insertions, 0 deletions