2023-05-05 17:51:47

by Liam R. Howlett

[permalink] [raw]
Subject: [PATCH v2 36/36] maple_tree: Add gap to check_alloc_rev_range() testcase

Signed-off-by: Liam R. Howlett <[email protected]>
---
lib/test_maple_tree.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/lib/test_maple_tree.c b/lib/test_maple_tree.c
index aa3c4fb9175ed..9939be34e516e 100644
--- a/lib/test_maple_tree.c
+++ b/lib/test_maple_tree.c
@@ -804,6 +804,7 @@ static noinline void __init check_alloc_rev_range(struct maple_tree *mt)

mt_set_non_kernel(1);
mtree_erase(mt, 34148798727); /* create a deleted range. */
+ mtree_erase(mt, 34148798725);
check_mtree_alloc_rrange(mt, 0, 34359052173, 210253414,
34148798725, 0, mt);

--
2.39.2


2023-05-05 19:54:04

by Liam R. Howlett

[permalink] [raw]
Subject: Re: [PATCH v2 36/36] maple_tree: Add gap to check_alloc_rev_range() testcase

Ah, I meant to squash this into patch 0025 "maple_tree: Revise limit
checks in mas_empty_area{_rev}()" of this series.

Apologies for the lack of commit message.

* Liam R. Howlett <[email protected]> [230505 13:45]:
> Signed-off-by: Liam R. Howlett <[email protected]>
> ---
> lib/test_maple_tree.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lib/test_maple_tree.c b/lib/test_maple_tree.c
> index aa3c4fb9175ed..9939be34e516e 100644
> --- a/lib/test_maple_tree.c
> +++ b/lib/test_maple_tree.c
> @@ -804,6 +804,7 @@ static noinline void __init check_alloc_rev_range(struct maple_tree *mt)
>
> mt_set_non_kernel(1);
> mtree_erase(mt, 34148798727); /* create a deleted range. */
> + mtree_erase(mt, 34148798725);
> check_mtree_alloc_rrange(mt, 0, 34359052173, 210253414,
> 34148798725, 0, mt);
>
> --
> 2.39.2
>

2023-05-05 20:13:54

by Andrew Morton

[permalink] [raw]
Subject: Re: [PATCH v2 36/36] maple_tree: Add gap to check_alloc_rev_range() testcase

On Fri, 5 May 2023 15:29:29 -0400 "Liam R. Howlett" <[email protected]> wrote:

> Ah, I meant to squash this into patch 0025 "maple_tree: Revise limit
> checks in mas_empty_area{_rev}()" of this series.
>

I made that change.