[PATCH v2 1/2] kprobes: Allow architectures to override optinsn page allocation
Michael Ellerman
patch-notifications at ellerman.id.au
Sun Jun 6 22:08:41 AEST 2021
On Thu, 13 May 2021 09:07:51 +0000 (UTC), Christophe Leroy wrote:
> Some architectures like powerpc require a non standard
> allocation of optinsn page, because module pages are
> too far from the kernel for direct branches.
>
> Define weak alloc_optinsn_page() and free_optinsn_page(), that
> fall back on alloc_insn_page() and free_insn_page() when not
> overriden by the architecture.
Applied to powerpc/next.
[1/2] kprobes: Allow architectures to override optinsn page allocation
https://git.kernel.org/powerpc/c/7ee3e97e00a3893e354c3993c3f7d9dc127e9c5e
[2/2] powerpc/kprobes: Replace ppc_optinsn by common optinsn
https://git.kernel.org/powerpc/c/b73c8cccd72ac28beaf262fd6ef4b91411fc8335
cheers
More information about the Linuxppc-dev
mailing list