commit | 4947ed93c23218c40fb32226b895d8733cd2e05f | [log] [tgz] |
---|---|---|
author | Kefeng Wang <wangkefeng.wang@huawei.com> | Thu Jan 12 20:40:28 2023 +0800 |
committer | Andrew Morton <akpm@linux-foundation.org> | Thu Feb 02 22:33:03 2023 -0800 |
tree | 24bf0d0817abc798e42084370e5875bd3133d3ce | |
parent | 69bbb87b3f144e4778f028fd85992aa8dea6ff28 [diff] |
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>