diff options
author | 2024-11-25 21:01:45 +0000 | |
---|---|---|
committer | 2025-01-13 22:40:33 -0800 | |
commit | 49249a2a5eeb912e66951dfe9a5924eb0dd14d50 (patch) | |
tree | 732e11dc69dfebfd7dd7791f306cca8bf0ff413e /kernel/irq_work.c | |
parent | mm/page_alloc: move set_page_refcounted() to end of __alloc_pages() (diff) | |
download | linux-rng-49249a2a5eeb912e66951dfe9a5924eb0dd14d50.tar.xz linux-rng-49249a2a5eeb912e66951dfe9a5924eb0dd14d50.zip |
mm/page_alloc: add __alloc_frozen_pages()
Defer the initialisation of the page refcount to the new __alloc_pages()
wrapper and turn the old __alloc_pages() into __alloc_frozen_pages().
Link: https://lkml.kernel.org/r/20241125210149.2976098-14-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Acked-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Miaohe Lin <linmiaohe@huawei.com>
Cc: Muchun Song <songmuchun@bytedance.com>
Cc: William Kucharski <william.kucharski@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'kernel/irq_work.c')
0 files changed, 0 insertions, 0 deletions