mm-slab-use-compound_head-in-page_slab.patch removed from -mm tree
The quilt patch titled
Subject: mm/slab: use compound_head() in page_slab()
has been removed from the -mm tree. Its filename was
mm-slab-use-compound_head-in-page_slab.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: Kiryl Shutsemau <[email protected]>
Subject: mm/slab: use compound_head() in page_slab()
Date: Fri, 27 Feb 2026 19:42:56 +0000
page_slab() contained an open-coded implementation of compound_head().
Replace the duplicated code with a direct call to compound_head().
Signed-off-by Kiryl Shutsemau <[email protected]>
Reviewed-by Vlastimil Babka <[email protected]>
Cc Albert Ou <[email protected]>
Cc Alexandre Ghiti <[email protected]>
Cc Baoquan He <[email protected]>
Cc Christoph Lameter <[email protected]>
Cc David Rientjes <[email protected]>
Cc Frank van der Linden <[email protected]>
Cc Harry Yoo <[email protected]>
Cc Huacai Chen <[email protected]>
Cc Johannes Weiner <[email protected]>
Cc Jonathan Corbet <[email protected]>
Cc Lorenzo Stoakes <[email protected]>
Cc Matthew Wilcox (Oracle) <[email protected]>
Cc Michal Hocko <[email protected]>
Cc Mike Rapoport <[email protected]>
Cc Muchun Song <[email protected]>
Cc Oscar Salvador <[email protected]>
Cc Palmer Dabbelt <[email protected]>
Cc Paul Walmsley <[email protected]>
Cc Roman Gushchin <[email protected]>
Cc Usama Arif <[email protected]>
Cc WANG Xuerui <[email protected]>
Cc Zi Yan <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/slab.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-)
mm/slab.h renamed from mm/slab.h~mm-slab-use-compound_head-in-page_slab +1 -13
@@ -131,19 +131,7 @@ static_assert(IS_ALIGNED(offsetof(struct*/ static inline struct slab *page_slab (const struct page *page) { -unsigned long info; - - info =READ_ONCE (page->compound_info); -if (info &1 ) { -/* See compound_head() */ -if (compound_info_has_mask ()) { -unsigned long p = (unsigned long )page; - page = (struct page *)(p & info); - }else { - page = (struct page *)(info -1 ); - } - } - + page =compound_head (page);if (data_race (page->page_type >>24 ) != PGTY_slab) page =NULL ;
_
Patches currently in -mm which might be from [email protected] are