Re: [PATCH v4 1/9] powerpc/lib/code-patching: Use alternate map for patch_instruction()

2017-06-27 Thread Balbir Singh
On Tue, 2017-06-27 at 10:32 +0200, Christophe LEROY wrote: > > Le 27/06/2017 à 09:48, Balbir Singh a écrit : > > This patch creates the window using text_poke_area, allocated > > via get_vm_area(). text_poke_area is per CPU to avoid locking. > > text_poke_area for each cpu is setup using late_init

Re: [PATCH v4 1/9] powerpc/lib/code-patching: Use alternate map for patch_instruction()

2017-06-27 Thread Christophe LEROY
Le 27/06/2017 à 09:48, Balbir Singh a écrit : This patch creates the window using text_poke_area, allocated via get_vm_area(). text_poke_area is per CPU to avoid locking. text_poke_area for each cpu is setup using late_initcall, prior to setup of these alternate mapping areas, we continue to us

[PATCH v4 1/9] powerpc/lib/code-patching: Use alternate map for patch_instruction()

2017-06-27 Thread Balbir Singh
This patch creates the window using text_poke_area, allocated via get_vm_area(). text_poke_area is per CPU to avoid locking. text_poke_area for each cpu is setup using late_initcall, prior to setup of these alternate mapping areas, we continue to use direct write to change/modify kernel text. With