Re: [PATCH v12 08/29] HMM: add device page fault support v6.

2016-03-23 Thread Jerome Glisse
On Wed, Mar 23, 2016 at 03:59:32PM +0530, Aneesh Kumar K.V wrote: > Jerome Glisse writes: [...] > >> +static int hmm_mirror_fault_hpmd(struct hmm_mirror *mirror, > >> > + struct hmm_event *event, > >> > + struct vm_area_struct *vma

Re: [PATCH v12 08/29] HMM: add device page fault support v6.

2016-03-23 Thread Aneesh Kumar K.V
Jerome Glisse writes: > [ text/plain ] > On Wed, Mar 23, 2016 at 12:22:23PM +0530, Aneesh Kumar K.V wrote: >> Jérôme Glisse writes: >> >> > [ text/plain ] >> > This patch add helper for device page fault. Thus helpers will fill >> > the mirror page table using the CPU page table and synchronizi

Re: [PATCH v12 08/29] HMM: add device page fault support v6.

2016-03-23 Thread Jerome Glisse
On Wed, Mar 23, 2016 at 12:22:23PM +0530, Aneesh Kumar K.V wrote: > Jérôme Glisse writes: > > > [ text/plain ] > > This patch add helper for device page fault. Thus helpers will fill > > the mirror page table using the CPU page table and synchronizing > > with any update to CPU page table. > > >

Re: [PATCH v12 08/29] HMM: add device page fault support v6.

2016-03-22 Thread Aneesh Kumar K.V
Jérôme Glisse writes: > [ text/plain ] > This patch add helper for device page fault. Thus helpers will fill > the mirror page table using the CPU page table and synchronizing > with any update to CPU page table. > > Changed since v1: > - Add comment about directory lock. > > Changed since v2:

[PATCH v12 08/29] HMM: add device page fault support v6.

2016-03-08 Thread Jérôme Glisse
This patch add helper for device page fault. Thus helpers will fill the mirror page table using the CPU page table and synchronizing with any update to CPU page table. Changed since v1: - Add comment about directory lock. Changed since v2: - Check for mirror->hmm in hmm_mirror_fault() Change