Re: [PATCH] mm: fix section name for .data..ro_after_init

From: Jakub Kicinski
Date: Tue Mar 28 2017 - 04:30:10 EST


On Mon, 27 Mar 2017 12:22:13 -0700, Kees Cook wrote:
> A section name for .data..ro_after_init was added by both:
>
> commit d07a980c1b8d ("s390: add proper __ro_after_init support")
>
> and
>
> commit d7c19b066dcf ("mm: kmemleak: scan .data.ro_after_init")
>
> The latter adds incorrect wrapping around the existing s390 section,
> and came later. I'd prefer the s390 naming, so this moves the
> s390-specific name up to the asm-generic/sections.h and renames the
> section as used by kmemleak (and in the future, kernel/extable.c).
>
> Cc: Jakub Kicinski <jakub.kicinski@xxxxxxxxxxxxx>
> Cc: Heiko Carstens <heiko.carstens@xxxxxxxxxx>
> Cc: Eddie Kovsky <ewk@xxxxxxxxxxxx>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>

Acked-by: Jakub Kicinski <jakub.kicinski@xxxxxxxxxxxxx>