Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cgroup: freezer: call cgroup_enter_frozen() with preemption disabled …
…in ptrace_stop() ptrace_stop() does preempt_enable_no_resched() to avoid the preemption, but after that cgroup_enter_frozen() does spin_lock/unlock and this adds another preemption point. Reported-and-tested-by: Bruce Ashfield <[email protected]> Fixes: 76f969e ("cgroup: cgroup v2 freezer") Cc: [email protected] # v5.2+ Signed-off-by: Oleg Nesterov <[email protected]> Acked-by: Roman Gushchin <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
- Loading branch information