Re: [PATCH v2] maple_tree: Reorganize testing to restore module testing

From: Liam Howlett
Date: Fri Oct 28 2022 - 18:55:25 EST


* Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> [221028 17:58]:
> On Fri, 28 Oct 2022 18:04:30 +0000 Liam Howlett <liam.howlett@xxxxxxxxxx> wrote:
>
> > Along the development cycle, the testing code support for
> > module/in-kernel compiles was removed. Restore this functionality by
> > moving any internal API tests to the userspace side, as well as
> > threading tests. Fix the lockdep issues and add a way to reduce memory
> > usage so the tests can complete with KASAN + memleak detection. Make
> > the tests work on 32 bit hosts where possible and detect 32 bit hosts in
> > the radix test suite.
>
> My x86_64 allmodconfig failed with
>
> ERROR: modpost: "mas_find_rev" [lib/test_maple_tree.ko] undefined!
>
> so I did this:
>
> --- a/lib/maple_tree.c~maple_tree-reorganize-testing-to-restore-module-testing-fix
> +++ a/lib/maple_tree.c
> @@ -6059,7 +6059,7 @@ void *mas_find_rev(struct ma_state *mas,
> /* Retries on dead nodes handled by mas_next_entry */
> return mas_prev_entry(mas, min);
> }
> -EXPORT_SYMBOL_GPL(mas_find);
> +EXPORT_SYMBOL_GPL(mas_find_rev);
>
> /**
> * mas_erase() - Find the range in which index resides and erase the entire
> _
>

Thanks. It looks like I missed this in my squashing of commits.

Sorry about that.
Liam