History

Merge branch 'for-5.4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup

Pull cgroup fix from Tejun Heo: "There's an inadvertent preemption point in ptrace_stop() which was reliably triggering for a test scenario significantly slowing it down. This contains Oleg's fix to remove the unwanted preemption point" * 'for-5.4-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup: cgroup: freezer: call cgroup_enter_frozen() with preemption disabled in ptrace_stop()

Linus Torvalds committed 7 years ago

Commit de620fb2 parents 72d5ac6 937c6b21 file · +1 −1Browse files

Unified · Split

kernel/signal.c+1−1
@@ -2205,8 +2205,8 @@ static void ptrace_stop(int exit_code, int why, int clear_code, kernel_siginfo_t · 2204 unmodified lines
22052205 */
22062206 preempt_disable();
22072207 read_unlock(&tasklist_lock);
2208− preempt_enable_no_resched();
22092208 cgroup_enter_frozen();
2209+ preempt_enable_no_resched();
22102210 freezable_schedule();
22112211 cgroup_leave_frozen(true);
22122212 } else {