aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/internal.h
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2023-11-18 10:32:30 +0800
committerAndrew Morton <akpm@linux-foundation.org>2023-12-12 10:57:05 -0800
commit294de6d8f14a69f1251b94223ba9d90d64b28cec (patch)
tree7b6d255c1187145057161333940a68d4de033f81 /mm/internal.h
parentmm: memory: use a folio in validate_page_before_insert() (diff)
downloadwireguard-linux-294de6d8f14a69f1251b94223ba9d90d64b28cec.tar.xz
wireguard-linux-294de6d8f14a69f1251b94223ba9d90d64b28cec.zip
mm: memory: rename page_copy_prealloc() to folio_prealloc()
Let's rename page_copy_prealloc() to folio_prealloc(), which could be reused in more functons, as it maybe zero the new page, pass a new need_zero to it, and call the vma_alloc_zeroed_movable_folio() if need_zero is true. Link: https://lkml.kernel.org/r/20231118023232.1409103-4-wangkefeng.wang@huawei.com Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Reviewed-by: Sidhartha Kumar <sidhartha.kumar@oracle.com> Reviewed-by: Vishal Moola (Oracle) <vishal.moola@gmail.com> Cc: David Hildenbrand <david@redhat.com> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/internal.h')
0 files changed, 0 insertions, 0 deletions