From: "wuqiang.matt" <wuqiang.matt@bytedance.com>
To: linux-trace-kernel@vger.kernel.org, mhiramat@kernel.org,
davem@davemloft.net, anil.s.keshavamurthy@intel.com,
naveen.n.rao@linux.ibm.com, rostedt@goodmis.org,
peterz@infradead.org, akpm@linux-foundation.org,
sander@svanheule.net, ebiggers@google.com,
dan.j.williams@intel.com, jpoimboe@kernel.org
Cc: linux-kernel@vger.kernel.org, lkp@intel.com, mattwu@163.com,
"wuqiang.matt" <wuqiang.matt@bytedance.com>
Subject: [PATCH v10 0/5] lib,kprobes: kretprobe scalability improvement
Date: Sun, 15 Oct 2023 13:32:46 +0800 [thread overview]
Message-ID: <20231015053251.707442-1-wuqiang.matt@bytedance.com> (raw)
This patch series introduces a scalable and lockless ring-array based
object pool to improve scalability of kretprobed routines.
v10:
*) objpool simplified and improved according to Masami's advices
wuqiang.matt (5):
lib: objpool added: ring-array based lockless MPMC
lib: objpool test module added
kprobes: kretprobe scalability improvement with objpool
kprobes: freelist.h removed
MAINTAINERS: objpool added
MAINTAINERS | 7 +
include/linux/freelist.h | 129 --------
include/linux/kprobes.h | 11 +-
include/linux/objpool.h | 176 ++++++++++
include/linux/rethook.h | 16 +-
kernel/kprobes.c | 93 +++---
kernel/trace/fprobe.c | 32 +-
kernel/trace/rethook.c | 90 +++--
lib/Kconfig.debug | 11 +
lib/Makefile | 4 +-
lib/objpool.c | 286 ++++++++++++++++
lib/test_objpool.c | 689 +++++++++++++++++++++++++++++++++++++++
12 files changed, 1270 insertions(+), 274 deletions(-)
delete mode 100644 include/linux/freelist.h
create mode 100644 include/linux/objpool.h
create mode 100644 lib/objpool.c
create mode 100644 lib/test_objpool.c
--
2.40.1
next reply other threads:[~2023-10-15 5:33 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-15 5:32 wuqiang.matt [this message]
2023-10-15 5:32 ` [PATCH v10 1/5] lib: objpool added: ring-array based lockless MPMC wuqiang.matt
2023-10-15 15:43 ` Masami Hiramatsu
2023-10-15 16:06 ` wuqiang.matt
2023-10-15 23:26 ` Masami Hiramatsu
2023-10-16 2:45 ` wuqiang.matt
2023-10-16 12:18 ` Masami Hiramatsu
2023-10-16 15:00 ` wuqiang.matt
2023-10-16 15:04 ` wuqiang.matt
2023-10-16 17:05 ` wuqiang.matt
2023-10-17 1:27 ` Masami Hiramatsu
2023-10-15 5:32 ` [PATCH v10 2/5] lib: objpool test module added wuqiang.matt
2023-10-15 5:32 ` [PATCH v10 3/5] kprobes: kretprobe scalability improvement with objpool wuqiang.matt
2023-10-16 13:21 ` Masami Hiramatsu
2023-10-16 15:18 ` wuqiang.matt
2023-10-15 5:32 ` [PATCH v10 4/5] kprobes: freelist.h removed wuqiang.matt
2023-10-16 13:23 ` Masami Hiramatsu
2023-10-18 15:13 ` Masami Hiramatsu
2023-10-15 5:32 ` [PATCH v10 5/5] MAINTAINERS: objpool added wuqiang.matt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231015053251.707442-1-wuqiang.matt@bytedance.com \
--to=wuqiang.matt@bytedance.com \
--cc=akpm@linux-foundation.org \
--cc=anil.s.keshavamurthy@intel.com \
--cc=dan.j.williams@intel.com \
--cc=davem@davemloft.net \
--cc=ebiggers@google.com \
--cc=jpoimboe@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=mattwu@163.com \
--cc=mhiramat@kernel.org \
--cc=naveen.n.rao@linux.ibm.com \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=sander@svanheule.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).