linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/4] Optimize the fast path of mas_store()
@ 2023-06-28  7:36 Peng Zhang
  2023-06-28  7:36 ` [PATCH v4 1/4] maple_tree: add test for mas_wr_modify() fast path Peng Zhang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Peng Zhang @ 2023-06-28  7:36 UTC (permalink / raw)
  To: Liam.Howlett; +Cc: akpm, linux-mm, linux-kernel, maple-tree, Peng Zhang

Add fast paths for mas_wr_append() and mas_wr_slot_store() respectively.
The newly added fast path of mas_wr_append() is used in fork() and how
much it benefits fork() depends on how many VMAs are duplicated.

Thanks Liam for the review.

Changes since v3:
 - Revise the commit log of [4/4]

v1: https://lore.kernel.org/lkml/20230602075353.5917-1-zhangpeng.00@bytedance.com/
v2: https://lore.kernel.org/lkml/20230609120347.63936-1-zhangpeng.00@bytedance.com/
v3: https://lore.kernel.org/lkml/20230615084301.97701-1-zhangpeng.00@bytedance.com/

Peng Zhang (4):
  maple_tree: add test for mas_wr_modify() fast path
  maple_tree: add test for expanding range in RCU mode
  maple_tree: optimize mas_wr_append(), also improve duplicating VMAs
  maple_tree: add a fast path case in mas_wr_slot_store()

 lib/maple_tree.c                 | 69 +++++++++++++++++++----------
 lib/test_maple_tree.c            | 65 +++++++++++++++++++++++++++
 tools/testing/radix-tree/maple.c | 75 ++++++++++++++++++++++++++++++++
 3 files changed, 186 insertions(+), 23 deletions(-)

-- 
2.20.1



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-06-28  7:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-28  7:36 [PATCH v4 0/4] Optimize the fast path of mas_store() Peng Zhang
2023-06-28  7:36 ` [PATCH v4 1/4] maple_tree: add test for mas_wr_modify() fast path Peng Zhang
2023-06-28  7:36 ` [PATCH v4 2/4] maple_tree: add test for expanding range in RCU mode Peng Zhang
2023-06-28  7:36 ` [PATCH v4 3/4] maple_tree: optimize mas_wr_append(), also improve duplicating VMAs Peng Zhang
2023-06-28  7:36 ` [PATCH v4 4/4] maple_tree: add a fast path case in mas_wr_slot_store() Peng Zhang

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).