diff options
author | 2024-11-25 21:01:36 +0000 | |
---|---|---|
committer | 2025-01-13 22:40:31 -0800 | |
commit | 8fd10a892a8db797fffb59a9a60bce23a56eef46 (patch) | |
tree | f2c08e81da9c094c737915a79193fe4270061c0c /kernel | |
parent | mm/page_alloc: export free_frozen_pages() instead of free_unref_page() (diff) | |
download | wireguard-linux-8fd10a892a8db797fffb59a9a60bce23a56eef46.tar.xz wireguard-linux-8fd10a892a8db797fffb59a9a60bce23a56eef46.zip |
mm/page_alloc: move set_page_refcounted() to callers of post_alloc_hook()
In preparation for allocating frozen pages, stop initialising the page
refcount in post_alloc_hook().
Link: https://lkml.kernel.org/r/20241125210149.2976098-5-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Miaohe Lin <linmiaohe@huawei.com>
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: 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