-
- Downloads
powerpc: Replace mfmsr instructions with load from PACA kernel_msr field
On 64-bit, the mfmsr instruction can be quite slow, slower
than loading a field from the cache-hot PACA, which happens
to already contain the value we want in most cases.
Signed-off-by:
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Showing
- arch/powerpc/include/asm/exception-64s.h 1 addition, 1 deletionarch/powerpc/include/asm/exception-64s.h
- arch/powerpc/include/asm/hw_irq.h 2 additions, 2 deletionsarch/powerpc/include/asm/hw_irq.h
- arch/powerpc/kernel/entry_64.S 5 additions, 9 deletionsarch/powerpc/kernel/entry_64.S
- arch/powerpc/kernel/exceptions-64s.S 2 additions, 3 deletionsarch/powerpc/kernel/exceptions-64s.S
Loading
Please register or sign in to comment