Re: [PATCH v9 3/5] kprobes: kretprobe scalability improvement with objpool

2023-10-08 Thread Google
On Mon, 9 Oct 2023 02:31:34 +0800 wuqiang wrote: > On 2023/10/7 10:02, Masami Hiramatsu (Google) wrote: > > On Tue, 5 Sep 2023 09:52:53 +0800 > > "wuqiang.matt" wrote: > > > >> kretprobe is using freelist to manage return-instances, but freelist, > >> as LIFO queue based on singly linked

Re: [PATCH v9 3/5] kprobes: kretprobe scalability improvement with objpool

2023-10-08 Thread wuqiang
On 2023/10/7 10:02, Masami Hiramatsu (Google) wrote: On Tue, 5 Sep 2023 09:52:53 +0800 "wuqiang.matt" wrote: kretprobe is using freelist to manage return-instances, but freelist, as LIFO queue based on singly linked list, scales badly and reduces the overall throughput of kretprobed

Re: [PATCH v9 3/5] kprobes: kretprobe scalability improvement with objpool

2023-10-06 Thread Google
On Tue, 5 Sep 2023 09:52:53 +0800 "wuqiang.matt" wrote: > kretprobe is using freelist to manage return-instances, but freelist, > as LIFO queue based on singly linked list, scales badly and reduces > the overall throughput of kretprobed routines, especially for high > contention scenarios. > >