diff options
| author | Peter Zijlstra <[email protected]> | 2022-08-22 11:18:17 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2022-09-07 19:53:48 +0000 |
| commit | 5950e5d574c636a07dd21a872c2f8b41f6d20c55 (patch) | |
| tree | 77419bad4e34bcffa13046fc8c673b67276ccd7b /net/unix/af_unix.c | |
| parent | sched: Rename task_running() to task_on_cpu() (diff) | |
| download | kernel-5950e5d574c636a07dd21a872c2f8b41f6d20c55.tar.gz kernel-5950e5d574c636a07dd21a872c2f8b41f6d20c55.zip | |
freezer: Have {,un}lock_system_sleep() save/restore flags
Rafael explained that the reason for having both PF_NOFREEZE and
PF_FREEZER_SKIP is that {,un}lock_system_sleep() is callable from
kthread context that has previously called set_freezable().
In preparation of merging the flags, have {,un}lock_system_slee() save
and restore current->flags.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
