[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdWHzWxc-pq27+sdV9VeGvZYX+MXH1OZ06NVMuykDBpeMw@mail.gmail.com>
Date: Tue, 11 Oct 2022 14:59:26 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Matthew Wilcox <willy@...radead.org>
Cc: Liam Howlett <liam.howlett@...cle.com>,
"maple-tree@...ts.infradead.org" <maple-tree@...ts.infradead.org>,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [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@...radead.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@...ux-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
Powered by blists - more mailing lists