diff options
author | 2023-06-28 15:36:54 +0800 | |
---|---|---|
committer | 2023-08-18 10:12:05 -0700 | |
commit | d6e8d0dc19a3ebea185cd8e99f2e960d81b153ad (patch) | |
tree | a7154054346d4ac8969a1d437fdcb11b7c7ba1fb /mm | |
parent | mm/filemap.c: fix update prev_pos after one read request done (diff) | |
download | wireguard-linux-d6e8d0dc19a3ebea185cd8e99f2e960d81b153ad.tar.xz wireguard-linux-d6e8d0dc19a3ebea185cd8e99f2e960d81b153ad.zip |
maple_tree: add test for mas_wr_modify() fast path
Patch series "Optimize the fast path of mas_store()", v4.
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.
This patch (of 4):
Add tests for all cases of mas_wr_append() and mas_wr_slot_store().
Link: https://lkml.kernel.org/r/20230628073657.75314-1-zhangpeng.00@bytedance.com
Link: https://lkml.kernel.org/r/20230628073657.75314-2-zhangpeng.00@bytedance.com
Signed-off-by: Peng Zhang <zhangpeng.00@bytedance.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions