On Wed, 24 May 2017 13:20:11 -0400 Jérôme Glisse <[email protected]> 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 <[email protected]> > Signed-off-by: Evgeny Baskakov <[email protected]> > Signed-off-by: John Hubbard <[email protected]> > Signed-off-by: Mark Hairgrove <[email protected]> > Signed-off-by: Sherry Cheung <[email protected]> > Signed-off-by: Subhash Gutti <[email protected]> > --- 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.

