[PATCH v3 5/6] maple_tree: add sufficient height
Vasily Gorbik
gor at linux.ibm.com
Tue Mar 11 08:53:08 PDT 2025
On Tue, Mar 11, 2025 at 10:40:17AM -0400, Sidhartha Kumar wrote:
> Would you be able to rerun this test with the following diff applied and
> CONFIG_DEBUG_MAPLE_TREE=y so I can check the state of the tree to easier
> reproduce the error?
>
> diff --git a/lib/maple_tree.c b/lib/maple_tree.c
> index ea1f0acac118..74a4b1924a55 100644
> --- a/lib/maple_tree.c
> +++ b/lib/maple_tree.c
> @@ -1153,8 +1153,11 @@ static inline struct maple_node *mas_pop_node(struct
> ma_state *mas)
> unsigned int req = mas_alloc_req(mas);
>
> /* nothing or a request pending. */
> - if (WARN_ON(!total))
> + if (WARN_ON(!total)) {
> + mas_dump(mas);
> + mt_dump(mas->tree, mt_dump_hex);
> return NULL;
> + }
Sure, please find vmcore-dmesg.txt.xz attached
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vmcore-dmesg.txt.xz
Type: application/x-xz
Size: 508568 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/maple-tree/attachments/20250311/02bdcc6a/attachment-0001.xz>
More information about the maple-tree
mailing list