diff options
| author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2024-11-26 00:01:37 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2025-01-14 09:40:31 +0300 |
| commit | ee66e9c34fd3aeab3a7c2cda300f852aa5363609 (patch) | |
| tree | 2956ea2b84e82d13eba3699d7e33c93bc8228389 /tools/perf/scripts/python | |
| parent | 8fd10a892a8db797fffb59a9a60bce23a56eef46 (diff) | |
| download | linux-ee66e9c34fd3aeab3a7c2cda300f852aa5363609.tar.xz | |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
