[SPARC64]: Fill dead cycles on trap entry with real work.
authorDavid S. Miller <davem@sunset.davemloft.net>
Mon, 6 Feb 2006 04:47:26 +0000 (20:47 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:11:47 +0000 (01:11 -0800)
commit6e02493a7f33ac89e698b980a657d77ab2749eaf
treefcb6a17c2222a1aa601faf95a50a92b7a7a9224a
parentd619d7f11670f5b1cfca30e6645e44c8a6014820
[SPARC64]: Fill dead cycles on trap entry with real work.

As we save trap state onto the stack, the store buffer fills up
mid-way through and we stall for several cycles as the store buffer
trickles out to the L2 cache.  Meanwhile we can do some privileged
register reads and other calculations, essentially for free.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/etrap.S