Merge branch 'linus' into perf/kprobes
authorIngo Molnar <mingo@kernel.org>
Sat, 7 Nov 2020 11:50:48 +0000 (12:50 +0100)
committerIngo Molnar <mingo@kernel.org>
Sat, 7 Nov 2020 12:20:17 +0000 (13:20 +0100)
Conflicts:
include/asm-generic/atomic-instrumented.h
kernel/kprobes.c

Use the upstream atomic-instrumented.h checksum, and pick
the kprobes version of kernel/kprobes.c, which effectively
reverts this upstream workaround:

  645f224e7ba2: ("kprobes: Tell lockdep about kprobe nesting")

Since the new code *should* be fine without nesting.

Knock on wood ...

Signed-off-by: Ingo Molnar <mingo@kernel.org>
1  2 
include/asm-generic/atomic-instrumented.h
include/linux/sched.h
kernel/fork.c
kernel/trace/trace_kprobe.c
scripts/atomic/gen-atomic-instrumented.sh

Simple merge
diff --cc kernel/fork.c
@@@ -2161,13 -2187,9 +2187,13 @@@ static __latent_entropy struct task_str
        INIT_LIST_HEAD(&p->thread_group);
        p->task_works = NULL;
  
 +#ifdef CONFIG_KRETPROBES
 +      p->kretprobe_instances.first = NULL;
 +#endif
 +
        /*
         * Ensure that the cgroup subsystem policies allow the new process to be
-        * forked. It should be noted the the new process's css_set can be changed
+        * forked. It should be noted that the new process's css_set can be changed
         * between here and cgroup_post_fork() if an organisation operation is in
         * progress.
         */
Simple merge