Skip to content

mm/migrate: optimize migrate_vma_setup() for holes

Ralph Campbell kvm-ppc linux-kselftest linux-mm lkml 2 versions – Applied

Status from this message: [merged] mm-migrate-add-migrate-shared-test-for-migrate_vma_.patch removed from -mm tree

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesApplied 2/2
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

Do the same check for vma_is_anonymous() for pte_none(). Don't increment cpages if the page isn't migrating.

Patches in v2 All 2 applied

#Subject and filesSizeRepliesApplied
1/2mm/migrate: optimize migrate_vma_setup() for holesmm/migrate.c+14 -20 repliesApplied
2/2mm/migrate: add migrate-shared test for migrate_vma_*()tools/testing/selftests/vm/hmm-tests.c+35 -00 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] mm/migrate: optimize migrate_vma_setup() for holes

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.

Changes in v2:
Do the same check for vma_is_anonymous() for pte_none(). Don't increment cpages if the page isn't migrating.

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

 mm/migrate.c                           | 16 ++++++++++--
 tools/testing/selftests/vm/hmm-tests.c | 35 ++++++++++++++++++++++++++
 2 files changed, 49 insertions(+), 2 deletions(-)
Signature · 1 line
2.20.1