diff options
author | Wei Yang <[email protected]> | 2019-11-30 17:57:49 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2019-12-01 12:59:09 -0800 |
commit | 4fb07ee6510280219403592e0a70c3b248b588c8 (patch) | |
tree | 57d45d34e514c0118c3241afdb6ceb4668b74287 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | df6c6500b4416baead2a1e17d9a80b675775c1df (diff) |
userfaultfd: use vma_pagesize for all huge page size calculation
In __mcopy_atomic_hugetlb() we use two variables to deal with huge page
size: vma_hpagesize and huge_page_size.
Since they are the same, it is not necessary to use two different
mechanism. This patch makes it consistent by all using vma_hpagesize.
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Wei Yang <[email protected]>
Reviewed-by: Mike Kravetz <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Hugh Dickins <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions