Re: [PATCH 2/5] powerpc/lib: Initialize a temporary mm for code patching

2020-06-10 Thread Christopher M. Riedl
On Wed Jun 3, 2020 at 9:01 AM, Christophe Leroy wrote: > > > > > Le 03/06/2020 à 07:19, Christopher M. Riedl a écrit : > > When code patching a STRICT_KERNEL_RWX kernel the page containing the > > address to be patched is temporarily mapped with permissive memory > > protections. Currently, a

Re: [PATCH 2/5] powerpc/lib: Initialize a temporary mm for code patching

2020-06-03 Thread Christophe Leroy
Le 03/06/2020 à 07:19, Christopher M. Riedl a écrit : When code patching a STRICT_KERNEL_RWX kernel the page containing the address to be patched is temporarily mapped with permissive memory protections. Currently, a per-cpu vmalloc patch area is used for this purpose. While the patch area is

[PATCH 2/5] powerpc/lib: Initialize a temporary mm for code patching

2020-06-02 Thread Christopher M. Riedl
When code patching a STRICT_KERNEL_RWX kernel the page containing the address to be patched is temporarily mapped with permissive memory protections. Currently, a per-cpu vmalloc patch area is used for this purpose. While the patch area is per-cpu, the temporary page mapping is inserted into the