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 routines,

Re: [PATCH v9 0/5] lib,kprobes: kretprobe scalability improvement

2023-10-08 Thread wuqiang
On 2023/9/23 16:57, Masami Hiramatsu (Google) wrote: Hi Wuqiang, I dug my mail box and found this. Sorry for replying late. On Tue, 5 Sep 2023 09:52:50 +0800 "wuqiang.matt" wrote: This patch series introduces a scalable and lockless ring-array based object pool and replaces the original fre

Re: [PATCH v9 1/5] lib: objpool added: ring-array based lockless MPMC

2023-10-08 Thread wuqiang
On 2023/9/23 17:48, Masami Hiramatsu (Google) wrote: Hi Wuqiang, Sorry for replying later. On Tue, 5 Sep 2023 09:52:51 +0800 "wuqiang.matt" wrote: The object pool is a scalable implementaion of high performance queue for object allocation and reclamation, such as kretprobe instances. With

Re: [PATCH v9 1/5] lib: objpool added: ring-array based lockless MPMC

2023-10-08 Thread wuqiang
On 2023/9/25 17:42, Masami Hiramatsu (Google) wrote: Hi Wuqiang, On Tue, 5 Sep 2023 09:52:51 +0800 "wuqiang.matt" wrote: The object pool is a scalable implementaion of high performance queue for object allocation and reclamation, such as kretprobe instances. With leveraging percpu ring-arra

Re: [PATCH v9 0/5] lib,kprobes: kretprobe scalability improvement

2023-10-08 Thread Google
On Mon, 9 Oct 2023 02:33:09 +0800 wuqiang wrote: > On 2023/9/23 16:57, Masami Hiramatsu (Google) wrote: > > Hi Wuqiang, > > > > I dug my mail box and found this. Sorry for replying late. > > > > On Tue, 5 Sep 2023 09:52:50 +0800 > > "wuqiang.matt" wrote: > > > >> This patch series introduces

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 list,

Re: [PATCH net-next v7] net/core: Introduce netdev_core_stats_inc()

2023-10-08 Thread Yajun Deng
On 2023/10/8 17:12, Yajun Deng wrote: On 2023/10/8 16:53, Eric Dumazet wrote: On Sun, Oct 8, 2023 at 10:44 AM Yajun Deng wrote: On 2023/10/8 15:18, Eric Dumazet wrote: On Sun, Oct 8, 2023 at 9:00 AM Yajun Deng wrote: On 2023/10/8 14:45, Eric Dumazet wrote: On Sat, Oct 7, 2023 at 8:34 AM

[PATCH] module: Add CONFIG_MODULE_LOAD_IN_SEQUENCE option

2023-10-08 Thread Joey Jiao
When modprobe cmds are executed one by one, the final loaded modules are not in fixed sequence as expected. Add the option to make sure modules are in fixed sequence across reboot. Signed-off-by: Joey Jiao --- kernel/module/Kconfig | 11 +++ kernel/module/main.c | 6 ++ 2 files ch