Thread (4 messages) flat view 4 messages, 3 authors, 2024-11-25

Re: [PATCH] kprobes: Reduce preempt disable scope in check_kprobe_access_safe()

From: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Date: 2024-11-25 05:25:04
Also in: linux-rt-devel, lkml

On Thu, 21 Nov 2024 09:04:32 +0100
Sebastian Andrzej Siewior [off-list ref] wrote:
On 2024-11-21 08:38:08 [+0100], Thomas Weißschuh wrote:
…
quoted
Signed-off-by: Thomas Weißschuh <redacted>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Thanks for your review!
quoted
diff --git a/kernel/kprobes.c b/kernel/kprobes.c
index da59c68df8412c4662d39d3e286d516e8cee9a69..369020170e832a34ea9c05eda6693bded02ec505 100644
--- a/kernel/kprobes.c
+++ b/kernel/kprobes.c
@@ -39,6 +39,7 @@
 #include <linux/static_call.h>
 #include <linux/perf_event.h>
 #include <linux/execmem.h>
+#include <linux/cleanup.h>
This hunk can be dropped. The definition for guard(preempt)() comes from
preempt.h.
quoted
 #include <asm/sections.h>
 #include <asm/cacheflush.h>
Sebastian

-- 
Masami Hiramatsu (Google) [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help