lkml.org 
[lkml]   [2022]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v14 07/70] lib/test_maple_tree: add testing for maple tree
Hi Matthew,

On Tue, Oct 11, 2022 at 2:56 PM Matthew Wilcox <willy@infradead.org> wrote:
> On Tue, Oct 11, 2022 at 02:16:02PM +0200, Geert Uytterhoeven wrote:
> > > lib/test_maple_tree.c | 38307 ++++++++++++++++++++++++++++
> >
> > Does this test really belong under lib/?
> > All other test modules there can be compiled and run as part of the
> > kernel itself.
>
> So can this. It's just like test_ida and test_xarray; it can be
> built as a module, or it can be extracted into userspace and run there.

How so? I can't seem to find the glue to do so, or the Kconfig symbol
to enable the test module.

It's different for test_ida and test_xarray:

lib/Makefile:obj-$(CONFIG_TEST_IDA) += test_ida.o
lib/Makefile:obj-$(CONFIG_TEST_XARRAY) += test_xarray.o

What am I missing?
Thanks!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds

\
 
 \ /
  Last update: 2022-10-11 15:00    [W:0.086 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site