On Fri, Jan 29, 2021 at 09:45:48AM -0800, Alexei Starovoitov wrote: > Same things apply to bpf side. We can statically prove safety for > ftrace and kprobe attaching whereas to deal with NMI situation we > have to use run-time checks for recursion prevention, etc. I have no idea what you're saying. You can attach to functions that are called with random locks held, you can create kprobes in some very sensitive places. What can you staticlly prove about that?