diff options
| author | Wei Yang <[email protected]> | 2020-08-07 06:23:48 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2020-08-07 18:33:27 +0000 |
| commit | 349d9fbb0b0a6734bcac9c08c5cc21992da5d2e6 (patch) | |
| tree | 98d42d6922cf9efaa7f5f2a4107e53b21f8e3d71 /mm/sparse.c | |
| parent | mm/mremap: calculate extent in one place (diff) | |
| download | kernel-349d9fbb0b0a6734bcac9c08c5cc21992da5d2e6.tar.gz kernel-349d9fbb0b0a6734bcac9c08c5cc21992da5d2e6.zip | |
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 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions
