diff options
author | Oleg Nesterov <[email protected]> | 2019-10-09 17:02:30 +0200 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2019-10-11 08:39:57 -0700 |
commit | 937c6b27c73e02cd4114f95f5c37ba2c29fadba1 (patch) | |
tree | e88382aa1b7c257d8c57c43f46a9298e83d0bcdd /scripts/bpf_helpers_doc.py | |
parent | 9e208aa06c2109b45eec6be049a8e47034748c20 (diff) |
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: 76f969e8948d ("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]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions