mm-constify-ptdesc_pmd_pts_count-and-folio_get_private.patch removed from -mm tree
The quilt patch titled
Subject: mm: constify ptdesc_pmd_pts_count() and folio_get_private()
has been removed from the -mm tree. Its filename was
mm-constify-ptdesc_pmd_pts_count-and-folio_get_private.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Max Kellermann <[email protected]>
Subject: mm: constify ptdesc_pmd_pts_count() and folio_get_private()
Date: Mon, 1 Sep 2025 22:50:18 +0200
These functions from mm_types.h are trivial getters that should never write to the given pointers.
Signed-off-by Max Kellermann <[email protected]>
Reviewed-by Vishal Moola (Oracle) <[email protected]>
Reviewed-by Lorenzo Stoakes <[email protected]>
Acked-by Vlastimil Babka <[email protected]>
Acked-by Shakeel Butt <[email protected]>
Cc Alexander Gordeev <[email protected]>
Cc Al Viro <[email protected]>
Cc Andreas Larsson <[email protected]>
Cc Andy Lutomirski <[email protected]>
Cc Axel Rasmussen <[email protected]>
Cc Baolin Wang <[email protected]>
Cc Borislav Betkov <[email protected]>
Cc Christian Borntraeger <[email protected]>
Cc Christian Brauner <[email protected]>
Cc Christian Zankel <[email protected]>
Cc David Rientjes <[email protected]>
Cc David S. Miller <[email protected]>
Cc Gerald Schaefer <[email protected]>
Cc Heiko Carstens <[email protected]>
Cc Helge Deller <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Cc Hugh Dickins <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc James Bottomley <[email protected]>
Cc Jan Kara <[email protected]>
Cc Jocelyn Falempe <[email protected]>
Cc Liam Howlett <[email protected]>
Cc Mark Brown <[email protected]>
Cc Matthew Wilcox (Oracle) <[email protected]>
Cc Max Filippov <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc Michal Hocko <[email protected]>
Cc "Nysal Jan K.A" <[email protected]>
Cc Oscar Salvador <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Russel King <[email protected]>
Cc Suren Baghdasaryan <[email protected]>
Cc Sven Schnelle <[email protected]>
Cc Thomas Gleinxer <[email protected]>
Cc Thomas Huth <[email protected]>
Cc Vasily Gorbik <[email protected]>
Cc Wei Xu <[email protected]>
Cc Yuanchu Xie <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
include/linux/mm_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/mm_types.h renamed from include/linux/mm_types.h~mm-constify-ptdesc_pmd_pts_count-and-folio_get_private +2 -2
@@ -632,7 +632,7 @@ static inline void ptdesc_pmd_pts_dec(statomic_dec (&ptdesc->pt_share_count); } -static inline int ptdesc_pmd_pts_count (struct ptdesc *ptdesc) +static inline int ptdesc_pmd_pts_count (const struct ptdesc *ptdesc) {return atomic_read (&ptdesc->pt_share_count); }
@@ -660,7 +660,7 @@ static inline void set_page_private(stru page->private = private; } -static inline void *folio_get_private (struct folio *folio) +static inline void *folio_get_private (const struct folio *folio) {return folio->private; }
_
Patches currently in -mm which might be from [email protected] are