Re: [PATCHv4 bpf-next 05/28] bpf: Add pid filter support for uprobe_multi link

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 21, 2023 at 4:55 PM Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
>
> Sorry for noise, apparently I haven't woken up yet,
>
> On 07/21, Oleg Nesterov wrote:
> >
> > Or. We can simply kill uprobe_multi_link_filter(). In this case uprobe_register()
> > can touch CLONE_VM'ed mm's we are not interested in, but everything should work
> > correctly.
>
> please ignore CLONE_VM'ed above, I have no idea why did I say this...
>
> Yes, everything should work "correctly", but if you add a probe into (say) libc.so,
> every task will be penalized, so I don't think this is a good option.
>

Thanks  for your explanation.
Currently we can filter out the tgid in bpf prog, but if we could
filter out it earlier, the prog won't be triggered, that would take
less overhead.
However, it is fine by me if tgid won't be supported.

-- 
Regards
Yafang





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux