[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <B8002B18-F0F9-4E53-8B7C-B843C83C1D46@linux.dev>
Date: Mon, 20 May 2024 10:57:40 +0800
From: Muchun Song <muchun.song@...ux.dev>
To: Thomas Weißschuh <linux@...ssschuh.net>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Linux-MM <linux-mm@...ck.org>,
linux-kernel@...r.kernel.org,
Joel Granados <j.granados@...sung.com>,
Luis Chamberlain <mcgrof@...nel.org>
Subject: Re: [PATCH] mm/hugetlb: constify ctl_table arguments of utility
functions
> On May 18, 2024, at 22:00, Thomas Weißschuh <linux@...ssschuh.net> wrote:
>
> The sysctl core is preparing to only expose instances of
> struct ctl_table as "const".
> This will also affect the ctl_table argument of sysctl handlers.
>
> As the function prototype of all sysctl handlers throughout the tree
> needs to stay consistent that change will be done in one commit.
>
> To reduce the size of that final commit, switch utility functions which
> are not bound by "typedef proc_handler" to "const struct ctl_table".
>
> No functional change.
>
> Signed-off-by: Thomas Weißschuh <linux@...ssschuh.net>
Reviewed-by: Muchun Song <muchun.song@...ux.dev>
Thanks.
Powered by blists - more mailing lists