diff options
author | 2024-11-13 03:16:15 +0000 | |
---|---|---|
committer | 2025-01-13 22:40:41 -0800 | |
commit | c38279d4071992151321b0239c8896baa6563baf (patch) | |
tree | 8d71b382a9c107e2a7f25c147b20bb3deb34af1f /mm/hugetlb.c | |
parent | maple_tree: simplify split calculation (diff) | |
download | wireguard-linux-c38279d4071992151321b0239c8896baa6563baf.tar.xz wireguard-linux-c38279d4071992151321b0239c8896baa6563baf.zip |
maple_tree: add a test check deficient node
Add a test to assert when resulting a deficient node on splitting.
We can achieve this by build a tree with two nodes. With the left
node with consecutive data from 0 and leave some room for the final
insert to locate in left node. And the right node a full node to force
the split happens on the left node.
Link: https://lkml.kernel.org/r/20241113031616.10530-3-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Cc: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Cc: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions