]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s/radix: prefetch user address in update_mmu_cache
authorNicholas Piggin <npiggin@gmail.com>
Fri, 1 Jun 2018 10:01:18 +0000 (20:01 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 3 Jun 2018 10:40:35 +0000 (20:40 +1000)
commitbac3569bb6e10c8f34156eea6395f852ac2bf2eb
tree546d2ada5dd5d7e9fe1901285f23c9df67d0b224
parentff3887177bf3cded94b20a106de411e61141d244
powerpc/64s/radix: prefetch user address in update_mmu_cache

Prefetch the faulting address in update_mmu_cache to give the page
table walker perhaps 100 cycles head start as locks are dropped and
the interrupt completed.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/mem.c
arch/powerpc/mm/pgtable-book3s64.c