]> www.infradead.org Git - users/willy/pagecache.git/commit
slab: Allocate frozen pages
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 31 May 2022 03:02:44 +0000 (23:02 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 3 Jan 2023 14:00:32 +0000 (09:00 -0500)
commitc1eac6aedd0ecec280328df9da5574876fda40ca
tree1c76112dee6a58d9c20f6cb0fc44a387ee5d2cba
parent893cf68ee257efac9719bc03d39d8efcc363f1ee
slab: Allocate frozen pages

Since slab does not use the page refcount, it can allocate and
free frozen pages, saving one atomic operation per free.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
mm/slab.c