[parisc-linux] [PATCH] timer_interrupt and gettimeoffset.

James Bottomley James.Bottomley at SteelEye.com
Tue Sep 5 09:53:34 MDT 2006


On Mon, 2006-09-04 at 23:12 -0600, Grant Grundler wrote:
> > I'm still concerned that we may take a TLB exception in this code
> > and substantially increase the calculation time.
> 
> Hrm...what would cause a TLB exception in timer_interrupt?
> Accessing a global var?

A TLB miss could be caused by either code or data ... we only have a few
hundred entries, so the chances of the timer_interrupt code or data
being not in the TLB cache are high.

However, the TLB miss handling code is pretty speedy ... we can
certainly fill a TLB entry in around 20 instructions on the fast path.

James





More information about the parisc-linux mailing list