aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/kernel/sched/core.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2024-11-25 21:01:47 +0000
committerAndrew Morton <akpm@linux-foundation.org>2025-01-13 22:40:34 -0800
commit9aec2fb0fd5ed3b90665a9a289fff7fa7a6e1fc7 (patch)
tree82e4c28573c3b9118908982810b8148aa5ab35c4 /kernel/sched/core.c
parentmm/mempolicy: add alloc_frozen_pages() (diff)
downloadwireguard-linux-9aec2fb0fd5ed3b90665a9a289fff7fa7a6e1fc7.tar.xz
wireguard-linux-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/sched/core.c')
0 files changed, 0 insertions, 0 deletions