diff options
author | 2021-02-24 12:07:39 -0800 | |
---|---|---|
committer | 2021-02-24 13:38:33 -0800 | |
commit | 07e51edf839ab85187acf013384ceecbbba40b0b (patch) | |
tree | f48b36b08bd69c745516480460b1601fd1de5c7d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | hugetlb_cgroup: use helper pages_per_huge_page() in hugetlb_cgroup (diff) | |
download | wireguard-linux-07e51edf839ab85187acf013384ceecbbba40b0b.tar.xz wireguard-linux-07e51edf839ab85187acf013384ceecbbba40b0b.zip |
mm/hugetlb: use helper function range_in_vma() in page_table_shareable()
We could use helper function range_in_vma() to check whether the vma is in
the desired range to simplify the code.
Link: https://lkml.kernel.org/r/20210204112949.43051-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions