[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220222133708.tew4wxhkf5hpkg2u@ava.usersys.com>
Date: Tue, 22 Feb 2022 13:37:08 +0000
From: Aaron Tomlin <atomlin@...mlin.com>
To: Christophe Leroy <christophe.leroy@...roup.eu>
Cc: Aaron Tomlin <atomlin@...hat.com>,
"mcgrof@...nel.org" <mcgrof@...nel.org>,
"cl@...ux.com" <cl@...ux.com>,
"pmladek@...e.com" <pmladek@...e.com>,
"mbenes@...e.cz" <mbenes@...e.cz>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
"jeyu@...nel.org" <jeyu@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-modules@...r.kernel.org" <linux-modules@...r.kernel.org>,
"void@...ifault.com" <void@...ifault.com>,
"allen.lkml@...il.com" <allen.lkml@...il.com>,
"joe@...ches.com" <joe@...ches.com>,
"msuchanek@...e.de" <msuchanek@...e.de>,
"oleksandr@...alenko.name" <oleksandr@...alenko.name>
Subject: Re: [PATCH v7 05/13] module: Move latched RB-tree support to a
separate file
On Tue 2022-02-22 13:32 +0000, Christophe Leroy wrote:
> Le 22/02/2022 à 14:09, Aaron Tomlin a écrit :
> > No functional change.
> >
> > This patch migrates module latched RB-tree support
> > (e.g. see __module_address()) from core module code
> > into kernel/module/tree_lookup.c.
> >
> > Signed-off-by: Aaron Tomlin <atomlin@...hat.com>
> > ---
> > kernel/module/Makefile | 3 +
> > kernel/module/internal.h | 33 +++++++++
> > kernel/module/main.c | 130 ++----------------------------------
> > kernel/module/tree_lookup.c | 109 ++++++++++++++++++++++++++++++
> > 4 files changed, 149 insertions(+), 126 deletions(-)
> > create mode 100644 kernel/module/tree_lookup.c
> >
> > diff --git a/kernel/module/Makefile b/kernel/module/Makefile
> > index ed3aacb04f17..e8413975bf1d 100644
> > --- a/kernel/module/Makefile
> > +++ b/kernel/module/Makefile
> > @@ -11,3 +11,6 @@ obj-y += main.o
> > obj-$(CONFIG_MODULE_DECOMPRESS) += decompress.o
> > obj-$(CONFIG_MODULE_SIG) += signing.o
> > obj-$(CONFIG_LIVEPATCH) += livepatch.o
> > +ifdef CONFIG_MODULES
>
> This ifdef is not needed anymore.
>
> > +obj-$(CONFIG_MODULES_TREE_LOOKUP) += tree_lookup.o
> > +endif
Oops! Apologies this was an oversight.
--
Aaron Tomlin
Powered by blists - more mailing lists