diff options
author | Wei Yang <richard.weiyang@linux.alibaba.com> | 2020-10-14 01:53:57 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-10-14 03:38:31 +0200 |
commit | f9d86a60572295ebb53c87a4305dc89b487711bd (patch) | |
tree | 1d6a67b92abb7facc398f9aa8850648f19527499 /lib/test_debug_virtual.c | |
parent | mm: simplify PageDoubleMap with PF_SECOND policy (diff) | |
download | linux-f9d86a60572295ebb53c87a4305dc89b487711bd.tar.xz linux-f9d86a60572295ebb53c87a4305dc89b487711bd.zip |
mm/mmap: leave adjust_next as virtual address instead of page frame number
Instead of converting adjust_next between bytes and pages number, let's
just store the virtual address into adjust_next.
Also, this patch fixes one typo in the comment of vma_adjust_trans_huge().
[vbabka@suse.cz: changelog tweak]
Signed-off-by: Wei Yang <richard.weiyang@linux.alibaba.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Link: http://lkml.kernel.org/r/20200828081031.11306-1-richard.weiyang@linux.alibaba.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/test_debug_virtual.c')
0 files changed, 0 insertions, 0 deletions