Re: [PATCH] *: mark stuff as __ro_after_init

From: Alexey Dobriyan
Date: Wed Oct 11 2023 - 14:21:23 EST


On Wed, Oct 11, 2023 at 10:52:11AM -0700, Andrew Morton wrote:
> On Wed, 11 Oct 2023 19:55:00 +0300 Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:
>
> > __read_mostly predates __ro_after_init. Many variables which are marked
> > __read_mostly should have been __ro_after_init from day 1.
> >
> > Also, mark some stuff as "const" and "__init" while I'm at it.
>
> I did this:
>
> From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Subject: mark-stuff-as-__ro_after_init-fix
> Date: Wed Oct 11 10:46:42 AM PDT 2023
>
> revert sysctl_nr_open_min, sysctl_nr_open_max changes due to arm warning

Oops, last minute changes as usual.

But it is for the best, I have better patch.