diff options
| author | Tejun Heo <[email protected]> | 2011-11-21 20:32:22 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2011-11-21 20:32:22 +0000 |
| commit | 3a7cbd50f74907580eb47a8d08e1f29741b81abf (patch) | |
| tree | 515b7d9b9fa85c20ecf6779d563371b666a8b991 /fs/btrfs/async-thread.c | |
| parent | freezer: fix current->state restoration race in refrigerator() (diff) | |
| download | kernel-3a7cbd50f74907580eb47a8d08e1f29741b81abf.tar.gz kernel-3a7cbd50f74907580eb47a8d08e1f29741b81abf.zip | |
freezer: don't unnecessarily set PF_NOFREEZE explicitly
Some drivers set PF_NOFREEZE in their kthread functions which is
completely unnecessary and racy - some part of freezer code doesn't
consider cases where PF_NOFREEZE is set asynchronous to freezer
operations.
In general, there's no reason to allow setting PF_NOFREEZE explicitly.
Remove them and change the documentation to note that setting
PF_NOFREEZE directly isn't allowed.
-v2: Dropped change to twl4030-irq.c as it no longer uses PF_NOFREEZE.
Signed-off-by: Tejun Heo <[email protected]>
Acked-by: "Gustavo F. Padovan" <[email protected]>
Acked-by: Samuel Ortiz <[email protected]>
Cc: Marcel Holtmann <[email protected]>
Cc: wwang <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions
