]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge branch 'slab/for-6.19/memdesc_prep' into slab/for-next
authorVlastimil Babka <vbabka@suse.cz>
Tue, 25 Nov 2025 13:33:14 +0000 (14:33 +0100)
committerVlastimil Babka <vbabka@suse.cz>
Tue, 25 Nov 2025 13:33:14 +0000 (14:33 +0100)
Merge series "Prepare slab for memdescs" by Matthew Wilcox.

From the cover letter [1]:

When we separate struct folio, struct page and struct slab from each
other, converting to folios then to slabs will be nonsense.  It made
sense under the 'folio is just a head page' interpretation, but with
full separation, page_folio() will return NULL for a page which belongs
to a slab.

This patch series removes almost all mentions of folio from slab.
There are a few folio_test_slab() invocations left around the tree that
I haven't decided how to handle yet.  We're not yet quite at the point
of separately allocating struct slab, but that's what I'll be working
on next.

Link: https://lore.kernel.org/all/20251113000932.1589073-1-willy@infradead.org/
1  2 
mm/slab.h
mm/slub.c

diff --cc mm/slab.h
Simple merge
diff --cc mm/slub.c
Simple merge