Re: [PATCH 3/3] mm: Use ptep/pmdp_set_numa for updating _PAGE_NUMA bit

2014-02-11 Thread Benjamin Herrenschmidt
On Tue, 2014-02-11 at 17:07 +, Mel Gorman wrote: > On Tue, Feb 11, 2014 at 04:04:55PM +0530, Aneesh Kumar K.V wrote: > > From: "Aneesh Kumar K.V" > > > > Archs like ppc64 doesn't do tlb flush in set_pte/pmd functions. ppc64 also > > doesn't implement > > flush_tlb_range. ppc64 require the tl

Re: [PATCH 3/3] mm: Use ptep/pmdp_set_numa for updating _PAGE_NUMA bit

2014-02-11 Thread Mel Gorman
On Tue, Feb 11, 2014 at 04:04:55PM +0530, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > Archs like ppc64 doesn't do tlb flush in set_pte/pmd functions. ppc64 also > doesn't implement > flush_tlb_range. ppc64 require the tlb flushing to be batched within ptl > locks. The reason > to do

Re: [PATCH 3/3] mm: Use ptep/pmdp_set_numa for updating _PAGE_NUMA bit

2014-02-11 Thread Rik van Riel
On 02/11/2014 05:34 AM, Aneesh Kumar K.V wrote: > From: "Aneesh Kumar K.V" > > Archs like ppc64 doesn't do tlb flush in set_pte/pmd functions. ppc64 also > doesn't implement > flush_tlb_range. ppc64 require the tlb flushing to be batched within ptl > locks. The reason > to do that is to ensure

[PATCH 3/3] mm: Use ptep/pmdp_set_numa for updating _PAGE_NUMA bit

2014-02-11 Thread Aneesh Kumar K.V
From: "Aneesh Kumar K.V" Archs like ppc64 doesn't do tlb flush in set_pte/pmd functions. ppc64 also doesn't implement flush_tlb_range. ppc64 require the tlb flushing to be batched within ptl locks. The reason to do that is to ensure that the hash page table is in sync with linux page table. We