linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mm/migrate: optimize migrate_vma_setup() for holes
@ 2020-07-10 19:48 Ralph Campbell
  2020-07-10 19:48 ` [PATCH v2 1/2] " Ralph Campbell
  2020-07-10 19:48 ` [PATCH v2 2/2] mm/migrate: add migrate-shared test for migrate_vma_*() Ralph Campbell
  0 siblings, 2 replies; 3+ messages in thread
From: Ralph Campbell @ 2020-07-10 19:48 UTC (permalink / raw)
  To: linux-mm, kvm-ppc, linux-kselftest, linux-kernel
  Cc: Jerome Glisse, John Hubbard, Christoph Hellwig, Jason Gunthorpe,
	Bharata B Rao, Shuah Khan, Andrew Morton, Ralph Campbell

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(-)

-- 
2.20.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-10 19:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-10 19:48 [PATCH v2 0/2] mm/migrate: optimize migrate_vma_setup() for holes Ralph Campbell
2020-07-10 19:48 ` [PATCH v2 1/2] " Ralph Campbell
2020-07-10 19:48 ` [PATCH v2 2/2] mm/migrate: add migrate-shared test for migrate_vma_*() Ralph Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox