]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaec1fe768d54d241cf8debc28c19e079c83f2f7d
tree1eb827c65b007de64f8aa9ffff05a698277ba02d
parent8127b7a4847451c4d3d35a2a7d13dd0ac0bb5e9a
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