diff options
author | 2024-11-25 21:01:37 +0000 | |
---|---|---|
committer | 2025-01-13 22:40:31 -0800 | |
commit | ee66e9c34fd3aeab3a7c2cda300f852aa5363609 (patch) | |
tree | 2956ea2b84e82d13eba3699d7e33c93bc8228389 /kernel/sched/core.c | |
parent | mm/page_alloc: move set_page_refcounted() to callers of post_alloc_hook() (diff) | |
download | wireguard-linux-ee66e9c34fd3aeab3a7c2cda300f852aa5363609.tar.xz wireguard-linux-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/sched/core.c')
0 files changed, 0 insertions, 0 deletions