]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
slab: Remove folio references from __do_krealloc()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 13 Nov 2025 00:09:23 +0000 (00:09 +0000)
committerVlastimil Babka <vbabka@suse.cz>
Thu, 13 Nov 2025 10:01:08 +0000 (11:01 +0100)
commit5db009dc10b16056ed340a488e948855def63fca
treedf7f45e9d26feaa9ee9cc3dc301b3af87058d981
parente4090216859054043f8ba50866a2fb9c8e6d6b5b
slab: Remove folio references from __do_krealloc()

One slight tweak I made is to calculate 'ks' earlier, which means we
can reuse it in the warning rather than calculating the object size twice.

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