aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2024-08-26 14:58:11 +0800
committerAndrew Morton <akpm@linux-foundation.org>2024-09-09 16:38:58 -0700
commit39e618d986e46b02d0f0efcdeb7693f65a51a917 (patch)
treeb01fe989138d2544908069085ed33f835c635593 /mm/memcontrol.c
parentmm: migrate_device: use a folio in migrate_device_range() (diff)
downloadwireguard-linux-39e618d986e46b02d0f0efcdeb7693f65a51a917.tar.xz
wireguard-linux-39e618d986e46b02d0f0efcdeb7693f65a51a917.zip
mm: migrate_device: use more folio in migrate_device_unmap()
The page for migrate_device_unmap() already has a reference, so it is safe to convert the page to folio to save a few calls to compound_head(), which removes the last isolate_lru_page() call. Link: https://lkml.kernel.org/r/20240826065814.1336616-4-wangkefeng.wang@huawei.com Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Acked-by: David Hildenbrand <david@redhat.com> Reviewed-by: Vishal Moola (Oracle) <vishal.moola@gmail.com> Reviewed-by: Alistair Popple <apopple@nvidia.com> Cc: Baolin Wang <baolin.wang@linux.alibaba.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Zi Yan <ziy@nvidia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions