diff options
author | 2024-10-31 23:16:27 +0000 | |
---|---|---|
committer | 2024-11-11 13:09:42 -0800 | |
commit | 431e10601913f8f2006f3ed607e73eedf264b426 (patch) | |
tree | 1aafa7eeadfbe6fc6f52150354823de6a667c1ca /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | maple_tree: refine mas_store_root() on storing NULL (diff) | |
download | wireguard-linux-431e10601913f8f2006f3ed607e73eedf264b426.tar.xz wireguard-linux-431e10601913f8f2006f3ed607e73eedf264b426.zip |
maple_tree: add a test checking storing null
Add a test to assert that, when storing null to am empty tree or a
single entry tree it will not result into:
* a root node with range [0, ULONG_MAX] set to NULL
* a root node with consecutive slot set to NULL
[akpm@linux-foundation.org: work around build error (mas_root)]
Link: https://lkml.kernel.org/r/20241031231627.14316-6-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Cc: 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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions