[PATCH v3] powerpc/code-patching: Speed up page mapping/unmapping

Michael Ellerman patch-notifications at ellerman.id.au
Fri Sep 2 21:32:05 AEST 2022


On Mon, 15 Aug 2022 21:48:40 +1000, Michael Ellerman wrote:
> From: Christophe Leroy <christophe.leroy at csgroup.eu>
> 
> Since commit 591b4b268435 ("powerpc/code-patching: Pre-map patch area")
> the patch area is premapped so intermediate page tables are already
> allocated.
> 
> Use __set_pte_at() directly instead of the heavy map_kernel_page(),
> at for unmapping just do a pte_clear() followed by a flush.
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/code-patching: Speed up page mapping/unmapping
      https://git.kernel.org/powerpc/c/8b4bb0ad00cb347f62e76a636ce08eb179c843fc

cheers


More information about the Linuxppc-dev mailing list