[PATCH 04/18] mm: numa: Do not clear PMD during PTE update scan

2013-12-10 Thread Mel Gorman
If the PMD is flushed then a parallel fault in handle_mm_fault() will enter the pmd_none and do_huge_pmd_anonymous_page() path where it'll attempt to insert a huge zero page. This is wasteful so the patch avoids clearing the PMD when setting pmd_numa. Cc: sta...@vger.kernel.org Signed-off-by: Mel

[PATCH 04/18] mm: numa: Do not clear PMD during PTE update scan

2013-12-10 Thread Mel Gorman
If the PMD is flushed then a parallel fault in handle_mm_fault() will enter the pmd_none and do_huge_pmd_anonymous_page() path where it'll attempt to insert a huge zero page. This is wasteful so the patch avoids clearing the PMD when setting pmd_numa. Cc: sta...@vger.kernel.org Signed-off-by: Mel

Re: [PATCH 04/18] mm: numa: Do not clear PMD during PTE update scan

2013-12-09 Thread Rik van Riel
On 12/09/2013 02:08 AM, Mel Gorman wrote: > If the PMD is flushed then a parallel fault in handle_mm_fault() will enter > the pmd_none and do_huge_pmd_anonymous_page() path where it'll attempt > to insert a huge zero page. This is wasteful so the patch avoids clearing > the PMD when setting

Re: [PATCH 04/18] mm: numa: Do not clear PMD during PTE update scan

2013-12-09 Thread Rik van Riel
On 12/09/2013 02:08 AM, Mel Gorman wrote: If the PMD is flushed then a parallel fault in handle_mm_fault() will enter the pmd_none and do_huge_pmd_anonymous_page() path where it'll attempt to insert a huge zero page. This is wasteful so the patch avoids clearing the PMD when setting pmd_numa.

[PATCH 04/18] mm: numa: Do not clear PMD during PTE update scan

2013-12-08 Thread Mel Gorman
If the PMD is flushed then a parallel fault in handle_mm_fault() will enter the pmd_none and do_huge_pmd_anonymous_page() path where it'll attempt to insert a huge zero page. This is wasteful so the patch avoids clearing the PMD when setting pmd_numa. Cc: sta...@vger.kernel.org Signed-off-by: Mel

[PATCH 04/18] mm: numa: Do not clear PMD during PTE update scan

2013-12-08 Thread Mel Gorman
If the PMD is flushed then a parallel fault in handle_mm_fault() will enter the pmd_none and do_huge_pmd_anonymous_page() path where it'll attempt to insert a huge zero page. This is wasteful so the patch avoids clearing the PMD when setting pmd_numa. Cc: sta...@vger.kernel.org Signed-off-by: Mel