summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorWei Yang <richardw.yang@linux.intel.com>2019-12-01 02:57:49 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2019-12-01 21:59:09 +0100
commit4fb07ee6510280219403592e0a70c3b248b588c8 (patch)
tree57d45d34e514c0118c3241afdb6ceb4668b74287 /Documentation
parentmm/madvise.c: use PAGE_ALIGN[ED] for range checking (diff)
downloadlinux-4fb07ee6510280219403592e0a70c3b248b588c8.tar.xz
linux-4fb07ee6510280219403592e0a70c3b248b588c8.zip
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/20190927070032.2129-1-richardw.yang@linux.intel.com Signed-off-by: Wei Yang <richardw.yang@linux.intel.com> Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions