On Wed, 24 May 2017 13:20:11 -0400 Jérôme Glisse <jglisse@xxxxxxxxxx> wrote: > HMM provides 3 separate types of functionality: > - Mirroring: synchronize CPU page table and device page table > - Device memory: allocating struct page for device memory > - Migration: migrating regular memory to device memory > > This patch introduces some common helpers and definitions to all of > those 3 functionality. > > Changed since v3: > - Unconditionaly build hmm.c for static keys > Changed since v2: > - s/device unaddressable/device private > Changed since v1: > - Kconfig logic (depend on x86-64 and use ARCH_HAS pattern) > > Signed-off-by: Jérôme Glisse <jglisse@xxxxxxxxxx> > Signed-off-by: Evgeny Baskakov <ebaskakov@xxxxxxxxxx> > Signed-off-by: John Hubbard <jhubbard@xxxxxxxxxx> > Signed-off-by: Mark Hairgrove <mhairgrove@xxxxxxxxxx> > Signed-off-by: Sherry Cheung <SCheung@xxxxxxxxxx> > Signed-off-by: Subhash Gutti <sgutti@xxxxxxxxxx> > --- It would be nice to explain a bit of how hmm_pfn_t bits work with pfn and find out what we need from an arch to support HMM. Balbir Singh. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href