Re: [RESEND PATCH] mm/hmm: Fix initial PFN for hugetlbfs pages

2019-04-22 Thread Jerome Glisse
On Fri, Apr 19, 2019 at 04:35:36PM -0700, rcampb...@nvidia.com wrote: > From: Ralph Campbell > > The mmotm patch [1] adds hugetlbfs support for HMM but the initial > PFN used to fill the HMM range->pfns[] array doesn't properly > compute the starting PFN offset. > This can be tested by running te

[RESEND PATCH] mm/hmm: Fix initial PFN for hugetlbfs pages

2019-04-19 Thread rcampbell
From: Ralph Campbell The mmotm patch [1] adds hugetlbfs support for HMM but the initial PFN used to fill the HMM range->pfns[] array doesn't properly compute the starting PFN offset. This can be tested by running test-hugetlbfs-read from [2]. Fix the PFN offset by adjusting the page offset by th

[PATCH] mm/hmm: Fix initial PFN for hugetlbfs pages

2019-04-19 Thread rcampbell
From: Ralph Campbell The mmotm patch [1] adds hugetlbfs support for HMM but the initial PFN used to fill the HMM range->pfns[] array doesn't properly compute the starting PFN offset. This can be tested by running test-hugetlbfs-read from [2]. Fix the PFN offset by adjusting the page offset by th