diff options
author | 2024-11-25 21:01:47 +0000 | |
---|---|---|
committer | 2025-01-13 22:40:34 -0800 | |
commit | 9aec2fb0fd5ed3b90665a9a289fff7fa7a6e1fc7 (patch) | |
tree | 82e4c28573c3b9118908982810b8148aa5ab35c4 /kernel | |
parent | mm/mempolicy: add alloc_frozen_pages() (diff) | |
download | linux-rng-9aec2fb0fd5ed3b90665a9a289fff7fa7a6e1fc7.tar.xz linux-rng-9aec2fb0fd5ed3b90665a9a289fff7fa7a6e1fc7.zip |
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.
Link: https://lkml.kernel.org/r/20241125210149.2976098-16-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Cc: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: David Hildenbrand <david@redhat.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Miaohe Lin <linmiaohe@huawei.com>
Cc: Muchun Song <songmuchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions