Skip to content

uprobes: pre-filtering

Oleg Nesterov lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2uprobes: Rationalize the usage of filter_chain()kernel/events/uprobes.c+21 -231 reply
2/2uprobes: Reintroduce uprobe_consumer->filter()include/linux/uprobes.h kernel/events/uprobes.c+20 -71 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSrikar Dronamraju
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] uprobes: pre-filtering

Hello.

On top of preparations I sent a month ago. Srikar, you still didn't review the last 2 patches. I assume you do not care so I am going to add them without your ack.

Initially I was going to send more patches in this series. We can add some optimizations to avoid the unnecessary register_for_each_vma() or even consumer->filter() if there is a consumer with ->filter == NULL. But lets do this later, lets discuss the functional change first.

Next steps:

- teach handler_chain() to remove the unwanted breakpoints

- if the above is not enough, implement UPROBE_FILTER_FORK

- implement uprobe_apply(consumer, task, is_register) ?

Ole.