diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2023-01-12 15:40:28 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-03 09:33:03 +0300 |
commit | 4947ed93c23218c40fb32226b895d8733cd2e05f (patch) | |
tree | 24bf0d0817abc798e42084370e5875bd3133d3ce /include/linux/pagevec.h | |
parent | 69bbb87b3f144e4778f028fd85992aa8dea6ff28 (diff) | |
download | linux-4947ed93c23218c40fb32226b895d8733cd2e05f.tar.xz |
mm: madvise: use vm_normal_folio() in madvise_free_pte_range()
There is already a vm_normal_folio(), use it to make
madvise_free_pte_range() only use a folio.
Link: https://lkml.kernel.org/r/20230112124028.16964-1-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/pagevec.h')
0 files changed, 0 insertions, 0 deletions