aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2024-11-25 21:01:37 +0000
committerAndrew Morton <akpm@linux-foundation.org>2025-01-13 22:40:31 -0800
commitee66e9c34fd3aeab3a7c2cda300f852aa5363609 (patch)
tree2956ea2b84e82d13eba3699d7e33c93bc8228389 /kernel
parentmm/page_alloc: move set_page_refcounted() to callers of post_alloc_hook() (diff)
downloadlinux-rng-ee66e9c34fd3aeab3a7c2cda300f852aa5363609.tar.xz
linux-rng-ee66e9c34fd3aeab3a7c2cda300f852aa5363609.zip
mm/page_alloc: move set_page_refcounted() to callers of prep_new_page()
In preparation for allocating frozen pages, stop initialising the page refcount in prep_new_page(). Link: https://lkml.kernel.org/r/20241125210149.2976098-6-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')
0 files changed, 0 insertions, 0 deletions