diff options
| author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2023-01-12 20:40:28 +0800 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-02 22:33:03 -0800 |
| commit | 4947ed93c23218c40fb32226b895d8733cd2e05f (patch) | |
| tree | 24bf0d0817abc798e42084370e5875bd3133d3ce /include/linux | |
| 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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
