Re: [PATCH 1/4] lib: make test_bitops compilable into the kernel image

From: Yury Norov
Date: Thu May 02 2024 - 22:14:24 EST


On Fri, May 03, 2024 at 10:00:07AM +0800, Kuan-Wei Chiu wrote:
> On Thu, May 02, 2024 at 04:32:01PM -0700, Yury Norov wrote:
> > The test is limited to be compiled as a module. There's no technical
> > reason for it. Now that the test bears performance benchmark, it would
> > be reasonable to allow running it at kernel load time, before userspace
> > starts, to reduce possible jitter.
> >
> > Signed-off-by: Yury Norov <yury.norov@xxxxxxxxx>
> > ---
> > lib/Kconfig.debug | 1 -
> > 1 file changed, 1 deletion(-)
> >
> > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
> > index c63a5fbf1f1c..fc8fe1ea5b49 100644
> > --- a/lib/Kconfig.debug
> > +++ b/lib/Kconfig.debug
> > @@ -2436,7 +2436,6 @@ config TEST_LKM
> >
> > config TEST_BITOPS
> > tristate "Test module for compilation of bitops operations"
> > - depends on m
>
>
> Perhaps it would be better to modify the description in the following
> help section at the same time?

What exactly you want to change?

> Reviewed-by: Kuan-Wei Chiu <visitorckw@xxxxxxxxx>
>
> > help
> > This builds the "test_bitops" module that is much like the
> > TEST_LKM module except that it does a basic exercise of the
> > --
> > 2.40.1
> >