lkml.org 
[lkml]   [2022]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH v2] maple_tree: Reorganize testing to restore module testing
On Fri, 28 Oct 2022 18:04:30 +0000 Liam Howlett <liam.howlett@oracle.com> 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
_
\
 
 \ /
  Last update: 2022-10-28 23:58    [W:0.060 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site