mbox series

[0/2] mm/migrate: optimize migrate_vma_setup() for holes

Message ID 20200709165711.26584-1-rcampbell@nvidia.com (mailing list archive)
Headers show
Series mm/migrate: optimize migrate_vma_setup() for holes | expand

Message

Ralph Campbell July 9, 2020, 4:57 p.m. UTC
A simple optimization for migrate_vma_*() when the source vma is not an
anonymous vma and a new test case to exercise it.
This is based on linux-mm and is for Andrew Morton's tree.

Ralph Campbell (2):
  mm/migrate: optimize migrate_vma_setup() for holes
  mm/migrate: add migrate-shared test for migrate_vma_*()

 mm/migrate.c                           |  6 ++++-
 tools/testing/selftests/vm/hmm-tests.c | 35 ++++++++++++++++++++++++++
 2 files changed, 40 insertions(+), 1 deletion(-)