diff options
author | 2024-11-25 21:01:42 +0000 | |
---|---|---|
committer | 2025-01-13 22:40:33 -0800 | |
commit | 30fdb6df4cb3641de4c5be9b87f3a2a1fe2fe72c (patch) | |
tree | 7431e03fb876885cd9bf5e1865f1ab9625a7b7c9 /kernel/irq_work.c | |
parent | mm/page_alloc: move set_page_refcounted() to callers of __alloc_pages_direct_compact() (diff) | |
download | linux-rng-30fdb6df4cb3641de4c5be9b87f3a2a1fe2fe72c.tar.xz linux-rng-30fdb6df4cb3641de4c5be9b87f3a2a1fe2fe72c.zip |
mm/page_alloc: move set_page_refcounted() to callers of __alloc_pages_direct_reclaim()
In preparation for allocating frozen pages, stop initialising the page
refcount in __alloc_pages_direct_reclaim().
Link: https://lkml.kernel.org/r/20241125210149.2976098-11-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
Cc: David Hildenbrand <david@redhat.com>
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