On Tue, 2014-02-11 at 17:07 +0000, Mel Gorman wrote:
> On Tue, Feb 11, 2014 at 04:04:55PM +0530, Aneesh Kumar K.V wrote:
> > From: "Aneesh Kumar K.V" <aneesh.ku...@linux.vnet.ibm.com>
> > 
> > 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 track the hpte index in linux pte and if we clear them without flushing 
> > hash and drop the
> > ptl lock, we can have another cpu update the pte and can end up with double 
> > hash. We also want
> > to keep set_pte_at simpler by not requiring them to do hash flush for 
> > performance reason.
> > Hence cannot use them while updating _PAGE_NUMA bit. Add new functions for 
> > marking pte/pmd numa
> > 
> > Signed-off-by: Aneesh Kumar K.V <aneesh.ku...@linux.vnet.ibm.com>
> 
> Acked-by: Mel Gorman <mgor...@suse.de>
> 

How do you guys want me to proceed ? Will you (or Andrew) send these to
Linus or should I do it myself ?

Cheers,
Ben.


_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to