Re: [PATCH] MIPS: Keep TLB cache hot while flushing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 28, 2011 at 09:16:29AM -0700, David Daney wrote:

> >If we only flush the TLB of the given huge page, the TLB cache remains hot for
> >the relevant mm as it is, and less will be refilled after flush, huge or not.
> >
> >As always all comments and ideas welcome.
> >
> 
> I haven't tested it, but it looks correct.  When I wrote the
> original flush_tlb_mm(), I was in a hurry and was more concerned
> about maintaining TLB consistency, rather than performance.

Yes, looks sane and like an obvious performance improvment.  but as always
with TLB stuff I'm paranoid so I've applied this to my 3.3 queue for it to
be tested well.

Hillf, do you have any benchmark numbers for this?

Thanks folks!

  Ralf



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux