Re: [PATCH -next v1 0/3] kernel/events/uprobes: uprobe_write_opcode() rewrite
From: Oleg Nesterov
Date: Wed Mar 05 2025 - 10:22:54 EST
On 03/04, David Hildenbrand wrote:
>
> Currently, uprobe_write_opcode() implements COW-breaking manually, which is
> really far from ideal.
To say at least ;)
David, thanks for doing this. I'll try to read 3/3 tomorrow, but I don't
think I can really help. Let me repeat, this code was written many years
ago, I forgot everything, and today my understanding of mm/ is very poor.
But I'll try anyway.
> Are there any uprobe tests / benchmarks that are worth running?
All I know about uprobe tests is that bpf people run a lot of tests which
use uprobes.
Andrii, Jiri, what you advise?
Oleg.