Re: [PATCH] module: clean-up for module_memory

From: Luis Chamberlain
Date: Tue Feb 21 2023 - 16:16:34 EST


On Thu, Feb 09, 2023 at 07:43:23PM +0000, Christophe Leroy wrote:
>
>
> Le 09/02/2023 à 18:56, Song Liu a écrit :
> > Three changes here:
> >
> > 1. Shorter variable names in arch/arc/kernel/unwind.c:unwind_add_table, to
> > make it easier to read.
> > 2. Rewrite free_mod_mem() so it is more obvious that MOD_DATA need to be
> > freed last.
> > 3. Clean up the use of CONFIG_ARCH_WANTS_MODULES_DATA_IN_VMALLOC.
> >
> > Cc: Luis Chamberlain <mcgrof@xxxxxxxxxx>
> > Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> > Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
> > Cc: Guenter Roeck <linux@xxxxxxxxxxxx>
> > Cc: Christophe Leroy <christophe.leroy@xxxxxxxxxx>
> > Signed-off-by: Song Liu <song@xxxxxxxxxx>
> >
> > ---
> >
> > This is the follow up patch on top of [1]. I would recommend fold this
> > into [1].
>
> With this patch folded into [1],
>
> Reviewed-by: Christophe Leroy <christophe.leroy@xxxxxxxxxx>

I've squashed this into the last patch from Song and added your
Reviewed-by tag, and pushed to modules-next. That'll sit there
for a full cycle for testing.

Luis