powerpc/64s/exception: reduce page fault unnecessary loads
authorNicholas Piggin <npiggin@gmail.com>
Fri, 2 Aug 2019 10:57:01 +0000 (20:57 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Aug 2019 01:14:59 +0000 (11:14 +1000)
commit9b123d1ea23701bc00ebf712f1e03b25b8195eeb
tree1eb827c65b007de64f8aa9ffff05a698277ba02d
parent05f97d94dd0e2883bc7b2e6b7b5e4c088e0d1437
powerpc/64s/exception: reduce page fault unnecessary loads

This avoids 3 loads in the radix page fault case, 1 load in the
hash fault case, and 2 loads in the hash miss page fault case.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190802105709.27696-37-npiggin@gmail.com
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/mm/book3s64/hash_utils.c