Re: [PATCH v5 01/13] module: Move all into module/

From: Luis Chamberlain
Date: Thu Feb 10 2022 - 13:51:12 EST


On Thu, Feb 10, 2022 at 09:02:09AM -0800, Joe Perches wrote:
> On Thu, 2022-02-10 at 14:45 +0000, Aaron Tomlin wrote:
> > On Thu 2022-02-10 11:11 +0000, Christophe Leroy wrote:
> > > > diff --git a/MAINTAINERS b/MAINTAINERS
> []
> > > > @@ -13001,7 +13001,7 @@ L: linux-kernel@xxxxxxxxxxxxxxx
> > > > S: Maintained
> > > > T: git git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git modules-next
> > > > F: include/linux/module.h
> > > > -F: kernel/module.c
> > > > +F: kernel/module/main.c
> > >
> > > Shouldn't it be the entire directory ?
> >
> > Indeed it should. Moving forward: kernel/module/*
>
> Better would be:
>
> F: kernel/module/
>
> in case it ever gets subdirectories too.

Yes, that also later allows us to add entries for things like say
livepatching. Or we peg the livepatching file to the livepatching
tag. Either way, one of the side goals of the split is to eventually
help scale maintenance.

Luis