[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <024e3400-6529-43a6-9c11-3b80af79b5b1@suse.cz>
Date: Mon, 1 Sep 2025 23:34:37 +0200
From: Vlastimil Babka <vbabka@...e.cz>
To: Max Kellermann <max.kellermann@...os.com>, akpm@...ux-foundation.org,
david@...hat.com, axelrasmussen@...gle.com, yuanchu@...gle.com,
willy@...radead.org, hughd@...gle.com, mhocko@...e.com,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
lorenzo.stoakes@...cle.com, Liam.Howlett@...cle.com, rppt@...nel.org,
surenb@...gle.com, vishal.moola@...il.com, linux@...linux.org.uk,
James.Bottomley@...senPartnership.com, deller@....de,
agordeev@...ux.ibm.com, gerald.schaefer@...ux.ibm.com, hca@...ux.ibm.com,
gor@...ux.ibm.com, borntraeger@...ux.ibm.com, svens@...ux.ibm.com,
davem@...emloft.net, andreas@...sler.com, dave.hansen@...ux.intel.com,
luto@...nel.org, peterz@...radead.org, tglx@...utronix.de, mingo@...hat.com,
bp@...en8.de, x86@...nel.org, hpa@...or.com, chris@...kel.net,
jcmvbkbc@...il.com, viro@...iv.linux.org.uk, brauner@...nel.org,
jack@...e.cz, weixugc@...gle.com, baolin.wang@...ux.alibaba.com,
rientjes@...gle.com, shakeel.butt@...ux.dev, thuth@...hat.com,
broonie@...nel.org, osalvador@...e.de, jfalempe@...hat.com,
mpe@...erman.id.au, nysal@...ux.ibm.com,
linux-arm-kernel@...ts.infradead.org, linux-parisc@...r.kernel.org,
linux-s390@...r.kernel.org, sparclinux@...r.kernel.org,
linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH v6 00/12] mm: establish const-correctness for pointer
parameters
On 9/1/25 22:50, Max Kellermann wrote:
> For improved const-correctness in the low-level memory-management
> subsystem, which provides a basis for further const-ification further
> up the call stack (e.g. filesystems).
>
> This patch series splitted into smaller patches was initially posted
> as a single large patch:
>
> https://lore.kernel.org/lkml/20250827192233.447920-1-max.kellermann@ionos.com/
>
> I started this work when I tried to constify the Ceph filesystem code,
> but found that to be impossible because many "mm" functions accept
> non-const pointer, even though they modify nothing.
I think (and tried to verify with a lore search) it's the first time you
mention this motivation and it's very useful to state that, thanks!
> Signed-off-by: Max Kellermann <max.kellermann@...os.com>
Acked-by: Vlastimil Babka <vbabka@...e.cz>
Powered by blists - more mailing lists