diff options
author | Wei Yang <[email protected]> | 2020-08-06 23:23:48 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-08-07 11:33:27 -0700 |
commit | 349d9fbb0b0a6734bcac9c08c5cc21992da5d2e6 (patch) | |
tree | 98d42d6922cf9efaa7f5f2a4107e53b21f8e3d71 /arch/s390/mm/init.c | |
parent | 9ad9718bfa41f6ae62fb2a7244357e99ac00d25a (diff) |
mm/mremap: start addresses are properly aligned
After previous cleanup, extent is the minimal step for both source and
destination. This means when extent is HPAGE_PMD_SIZE or PMD_SIZE,
old_addr and new_addr are properly aligned too.
Since these two functions are only invoked in move_page_tables, it is safe
to remove the check now.
Signed-off-by: Wei Yang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Tested-by: Dmitry Osipenko <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Cc: Aneesh Kumar K.V <[email protected]>
Cc: Anshuman Khandual <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Peter Xu <[email protected]>
Cc: Sean Christopherson <[email protected]>
Cc: Thomas Hellstrom <[email protected]>
Cc: Thomas Hellstrom (VMware) <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: Yang Shi <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'arch/s390/mm/init.c')
0 files changed, 0 insertions, 0 deletions