On 02.09.25 08:19, Lorenzo Stoakes wrote:
On Mon, Sep 01, 2025 at 10:50:09PM +0200, 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).
Great, this succinctly expresses what you want!
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@xxxxxxxxx/
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.
And as Vlasta said, this is great context.
Yes, that's valuable information, and the series is looking lovely now.
--
Cheers
David / dhildenb