Thread (13 messages) flat view 13 messages, 4 authors, 2024-10-04

Re: [PATCH 3/3] uprobes: implement SRCU-protected lifetime for single-stepped uprobe

From: Andrii Nakryiko <hidden>
Date: 2024-09-17 08:20:13
Also in: bpf, lkml

On Sun, Sep 15, 2024 at 4:51 PM Oleg Nesterov [off-list ref] wrote:
On 09/09, Andrii Nakryiko wrote:
quoted
Similarly to how we SRCU-protect uprobe instance (and avoid refcounting
it unnecessarily) when waiting for return probe hit, use hprobe approach
to do the same with single-stepped uprobe. Same hprobe_* primitives are
used. We also reuse ri_timer() callback to expire both pending
single-step uprobe and return instances.
Well, I still think it would be better (and much simpler) to simply kill
utask->active_uprobe, iirc I even sent the RFC patch...
let's do it, please send non-RFC patches and get them landed!
Oleg.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help