diff options
author | 2022-07-04 21:21:52 +0800 | |
---|---|---|
committer | 2022-07-17 17:14:45 -0700 | |
commit | 74ba2b38ba990c563393e5cb540cad2939f49d95 (patch) | |
tree | e4b96d3f723cfdae568825787f6e0e0769d3aa99 /mm/shrinker_debug.c | |
parent | mm/huge_memory: rename mmun_start to haddr in remove_migration_pmd (diff) | |
download | wireguard-linux-74ba2b38ba990c563393e5cb540cad2939f49d95.tar.xz wireguard-linux-74ba2b38ba990c563393e5cb540cad2939f49d95.zip |
mm/huge_memory: use helper function vma_lookup in split_huge_pages_pid
Use helper function vma_lookup to lookup the needed vma to simplify the
code. Minor readability improvement.
Link: https://lkml.kernel.org/r/20220704132201.14611-8-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Yang Shi <shy828301@gmail.com>
Cc: Zach O'Keefe <zokeefe@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/shrinker_debug.c')
0 files changed, 0 insertions, 0 deletions