]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
slab: Remove folio references from kfree_nolock()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 13 Nov 2025 00:09:26 +0000 (00:09 +0000)
committerVlastimil Babka <vbabka@suse.cz>
Thu, 13 Nov 2025 10:01:08 +0000 (11:01 +0100)
commit025f5b870b2c4f30cbf452c5b07f9ab249cf73ec
tree3a794ce4f470a9dd8f33bed8d4e29f66efca9e2b
parent7d26842fd43cb0f7e29c9f8e98af9091ccb0aef5
slab: Remove folio references from kfree_nolock()

In preparation for splitting struct slab from struct page and struct
folio, remove mentions of struct folio from this function.  Since large
kmalloc objects are not supported here, we can just use virt_to_slab().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://patch.msgid.link/20251113000932.1589073-13-willy@infradead.org
Reviewed-by: Harry Yoo <harry.yoo@oracle.com>
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
mm/slub.c