]> git.baikalelectronics.ru Git - kernel.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)
commit2d9117c4d6e9f8ea2a733b2889499e9dae6448e0
treeb3925f180d0a7e80b76476694db42bb338db4d6c
parentb54760bf1d875b94b4b116407dc858ba50550368
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