kprobes: Replace rp->free_instance with freelist
authorPeter Zijlstra <peterz@infradead.org>
Sat, 29 Aug 2020 13:03:56 +0000 (22:03 +0900)
committerIngo Molnar <mingo@kernel.org>
Mon, 12 Oct 2020 16:27:28 +0000 (18:27 +0200)
commit6e426e0fcd20ce144bb93e00b70df51e9f2e08c3
treef4e6ad94a04db211bfacc7cc6a931a96ecd897fd
parente563604a5f5a891283b6a8db4001cee833a7c6b8
kprobes: Replace rp->free_instance with freelist

Gets rid of rp->lock, and as a result kretprobes are now fully
lockless.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/159870623583.1229682.17472357584134058687.stgit@devnote2
include/linux/kprobes.h
kernel/kprobes.c