diff options
author | Peng Zhang <zhangpeng.00@bytedance.com> | 2023-06-28 15:36:54 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-08-18 10:12:05 -0700 |
commit | d6e8d0dc19a3ebea185cd8e99f2e960d81b153ad (patch) | |
tree | a7154054346d4ac8969a1d437fdcb11b7c7ba1fb /tools/testing/radix-tree/maple.c | |
parent | f04d16ee3afc049cdfa99500d95dee8b0eb77cfa (diff) | |
download | linux-d6e8d0dc19a3ebea185cd8e99f2e960d81b153ad.tar.gz linux-d6e8d0dc19a3ebea185cd8e99f2e960d81b153ad.tar.bz2 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 'tools/testing/radix-tree/maple.c')
0 files changed, 0 insertions, 0 deletions