]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc/mm: Used free register to save a few cycles in SW TLB miss handling
authorKumar Gala <galak@kernel.crashing.org>
Thu, 19 Mar 2009 03:55:40 +0000 (03:55 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 24 Mar 2009 02:47:31 +0000 (13:47 +1100)
commiteb3436a0139a651a39dbb37a75b10a2cccd00ad5
treeb3925f180d0a7e80b76476694db42bb338db4d6c
parent00fcb14703d8322a9c66cb3f48b5c49ac7d43f0a
powerpc/mm: Used free register to save a few cycles in SW TLB miss handling

Now that r0 is free we can keep the value of I/DMISS in r3 and not reload
it before doing the tlbli/d.  This saves us a few cycles in the fast path
case.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/head_32.S