* Re: [PATCH] fs: unexport ioctl_getflags
[not found] ` <20251119-frist-vertragen-22e1d099b118@brauner>
@ 2025-11-19 9:03 ` Christoph Hellwig
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2025-11-19 9:03 UTC (permalink / raw)
To: Christian Brauner
Cc: viro, jack, linux-fsdevel, Nathan Chancellor, Nicolas Schier,
linux-kbuild
On Wed, Nov 19, 2025 at 09:45:46AM +0100, Christian Brauner wrote:
> On Tue, Nov 18, 2025 at 08:09:41AM +0100, Christoph Hellwig wrote:
> > No modular users, nor should there be any for a dispatcher like this.
> >
> > Signed-off-by: Christoph Hellwig <hch@lst.de>
> > ---
>
> Ideally we'd be able to catch unnecessary exports automatically.
> Which would also be nice because it would mean that we could enforce
> automatic removal of unused exports. I'm pretty sure we have a bunch of
> them without realizing it.
The problem with that is that it is so configuration dependent.
Also there are occasional cases where we add exports in one merge window
for the users to appear in the next one to reduce cross-subsystem
dependencies, so we'd nee to do this manually.
Maybe just having CONFIG_TRIM_UNUSED_KSYMS outout the unused symbols
in a log file and manually looking over that for various allmodconfigs
might be a good start.
^ permalink raw reply [flat|nested] only message in thread