Re: [HMM 09/16] mm/hmm: heterogeneous memory management (HMM for short)

2017-03-19 Thread Mel Gorman
On Thu, Mar 16, 2017 at 12:05:28PM -0400, J?r?me Glisse 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

Re: [HMM 09/16] mm/hmm: heterogeneous memory management (HMM for short)

2017-03-19 Thread Mel Gorman
On Thu, Mar 16, 2017 at 12:05:28PM -0400, J?r?me Glisse 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

[HMM 09/16] mm/hmm: heterogeneous memory management (HMM for short)

2017-03-16 Thread Jérôme Glisse
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

[HMM 09/16] mm/hmm: heterogeneous memory management (HMM for short)

2017-03-16 Thread Jérôme Glisse
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