Re: [PATCH v6 00/12] mm: establish const-correctness for pointer parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux