From: Oscar Salvador <osalvador@suse.de>
To: "Thomas Weißschuh" <linux@weissschuh.net>
Cc: Muchun Song <muchun.song@linux.dev>,
Andrew Morton <akpm@linux-foundation.org>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org,
Joel Granados <j.granados@samsung.com>,
Luis Chamberlain <mcgrof@kernel.org>
Subject: Re: [PATCH] mm/hugetlb: constify ctl_table arguments of utility functions
Date: Mon, 27 May 2024 05:32:55 +0200 [thread overview]
Message-ID: <ZlP-59ed0_JrJZzG@localhost.localdomain> (raw)
In-Reply-To: <20240518-sysctl-const-handler-hugetlb-v1-1-47e34e2871b2@weissschuh.net>
On Sat, May 18, 2024 at 04:00:04PM +0200, Thomas Weißschuh 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@weissschuh.net>
Reviewed-by: Oscar Salvador <osalvador@suse.de>
--
Oscar Salvador
SUSE Labs
prev parent reply other threads:[~2024-05-27 3:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-18 14:00 [PATCH] mm/hugetlb: constify ctl_table arguments of utility functions Thomas Weißschuh
2024-05-20 2:57 ` Muchun Song
2024-05-27 3:32 ` Oscar Salvador [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZlP-59ed0_JrJZzG@localhost.localdomain \
--to=osalvador@suse.de \
--cc=akpm@linux-foundation.org \
--cc=j.granados@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=linux@weissschuh.net \
--cc=mcgrof@kernel.org \
--cc=muchun.song@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.