[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <73o2borvbdhb7j35zigv5ua7vgjjtt4pohbb77eolflgp5q4zu@bawkl5ykytce>
Date: Sat, 4 Oct 2025 00:29:15 -0400
From: Kent Overstreet <kent.overstreet@...ux.dev>
To: Christoph Hellwig <hch@...radead.org>
Cc: linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
Eric Biggers <ebiggers@...nel.org>
Subject: Re: [PATCH 6/7] lib: Give XOR_BLOCKS, RAID6_PQ config opts names
On Fri, Oct 03, 2025 at 09:14:37PM -0700, Christoph Hellwig wrote:
> On Fri, Oct 03, 2025 at 10:00:48PM -0400, Kent Overstreet wrote:
> > Give these config options names so that they show up under the "Library
> > routes" kernel configuration menu, and can be enabled by distributions.
> >
> > These are needed for bcachefs to be built out of tree.
>
> We do not add hooks for out of tree code, and this applies to you just
> like for everyone else.
That's been the primary purpose of the lib/ kconfig menu. The current
language is no longer quite as explicit as it used to be, but here's a
recent example:
config CRC16
tristate "CRC16 functions"
help
This option is provided for the case where no in-kernel-tree
modules require CRC16 functions, but a module built outside
the kernel tree does. Such modules that use library CRC16
functions require M here.
Powered by blists - more mailing lists