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

2023-10-16 Thread Google
Hi Wuqiang, This looks good to me. Can you update the series on top of probe/core branch? https://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace.git/log/?h=probes/core Thank you, On Tue, 17 Oct 2023 01:05:21 +0800 "wuqiang.matt" wrote: > Hello Masami, > > Here's the updated

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

2023-10-16 Thread wuqiang.matt
Hello Masami, Here's the updated version for your review. --- include/linux/objpool.h | 176 + lib/Makefile| 2 +- lib/objpool.c | 286 3 files changed, 463 insertions(+), 1 deletion(-) create mode 100644

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

2023-10-16 Thread wuqiang.matt
On 2023/10/16 20:18, Masami Hiramatsu (Google) wrote: Hi Wuqiang, On Mon, 16 Oct 2023 10:45:30 +0800 "wuqiang.matt" wrote: On 2023/10/16 07:26, Masami Hiramatsu (Google) wrote: On Mon, 16 Oct 2023 00:06:11 +0800 "wuqiang.matt" wrote: On 2023/10/15 23:43, Masami Hiramatsu (Google) wrote:

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

2023-10-16 Thread wuqiang.matt
On 2023/10/16 20:18, Masami Hiramatsu (Google) wrote: Hi Wuqiang, On Mon, 16 Oct 2023 10:45:30 +0800 "wuqiang.matt" wrote: On 2023/10/16 07:26, Masami Hiramatsu (Google) wrote: On Mon, 16 Oct 2023 00:06:11 +0800 "wuqiang.matt" wrote: On 2023/10/15 23:43, Masami Hiramatsu (Google) wrote:

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

2023-10-16 Thread Google
Hi Wuqiang, On Mon, 16 Oct 2023 10:45:30 +0800 "wuqiang.matt" wrote: > On 2023/10/16 07:26, Masami Hiramatsu (Google) wrote: > > On Mon, 16 Oct 2023 00:06:11 +0800 > > "wuqiang.matt" wrote: > > > >> On 2023/10/15 23:43, Masami Hiramatsu (Google) wrote: > >>> On Sun, 15 Oct 2023 13:32:47 +0800

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

2023-10-15 Thread wuqiang.matt
On 2023/10/16 07:26, Masami Hiramatsu (Google) wrote: On Mon, 16 Oct 2023 00:06:11 +0800 "wuqiang.matt" wrote: On 2023/10/15 23:43, Masami Hiramatsu (Google) wrote: On Sun, 15 Oct 2023 13:32:47 +0800 "wuqiang.matt" wrote: objpool is a scalable implementation of high performance queue for

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

2023-10-15 Thread Google
On Mon, 16 Oct 2023 00:06:11 +0800 "wuqiang.matt" wrote: > On 2023/10/15 23:43, Masami Hiramatsu (Google) wrote: > > On Sun, 15 Oct 2023 13:32:47 +0800 > > "wuqiang.matt" wrote: > > > >> objpool is a scalable implementation of high performance queue for > >> object allocation and reclamation,

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

2023-10-15 Thread wuqiang.matt
On 2023/10/15 23:43, Masami Hiramatsu (Google) wrote: On Sun, 15 Oct 2023 13:32:47 +0800 "wuqiang.matt" wrote: objpool is a scalable implementation of high performance queue for object allocation and reclamation, such as kretprobe instances. With leveraging percpu ring-array to mitigate hot

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

2023-10-15 Thread Google
On Sun, 15 Oct 2023 13:32:47 +0800 "wuqiang.matt" wrote: > objpool is a scalable implementation of high performance queue for > object allocation and reclamation, such as kretprobe instances. > > With leveraging percpu ring-array to mitigate hot spots of memory > contention, it delivers

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

2023-10-14 Thread wuqiang.matt
objpool is a scalable implementation of high performance queue for object allocation and reclamation, such as kretprobe instances. With leveraging percpu ring-array to mitigate hot spots of memory contention, it delivers near-linear scalability for high parallel scenarios. The objpool is best