Re: [PATCH] MIPS: Don't branch to eret in TLB refill.

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

 



On Mon, 18 May 2009, David Daney wrote:

> I don't really know what to say about that comment.
> 
> * We are synthesizing optimized TLB refill handlers, even small improvements
> yield big gains in system performance.
> 
> * The optimization you suggest below, although a good one, is somewhat
> different and would make a good follow on patch.
> 
> * I am trying to make forward progress and not have The perfect be the enemy
> of the good.

 What I suggested obsoletes your patch and requires it to be reverted 
because the folding point search algorithm would change.  It yields 
optimisation you (and everybody else, even if they do not realise it) are 
after not only for your corner case of ERET being exactly at offset of 
0x7c from the beginning of the XTLB handler slot, but for any systems for 
which the size of the XTLB slot is not enough to hold the whole handler, 
which, according to my knowledge, currently means all.  So why to go 
through the two-stage process at all and fix a corner case rather than the 
whole problem in the first place?

 This is my point of view; others may disagree of course.

  Maciej


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

  Powered by Linux