Re: livepatch/x86: apply alternatives and paravirt patches after relocations

2016-08-19 Thread Petr Mladek
On Thu 2016-08-18 14:03:13, Jessica Yu wrote: > +++ Petr Mladek [18/08/16 11:51 +0200]: > >On Wed 2016-08-17 20:58:29, Jessica Yu wrote: > >>Implement arch_klp_init_object_loaded() for x86, which applies > >>alternatives/paravirt patches. This fixes the order in which relocations > >>and alternativ

Re: livepatch/x86: apply alternatives and paravirt patches after relocations

2016-08-18 Thread Jessica Yu
+++ Petr Mladek [18/08/16 11:51 +0200]: On Wed 2016-08-17 20:58:29, Jessica Yu wrote: Implement arch_klp_init_object_loaded() for x86, which applies alternatives/paravirt patches. This fixes the order in which relocations and alternatives/paravirt patches are applied. Previously, if a patch mod

Re: [PATCH v3 2/3] livepatch/x86: apply alternatives and paravirt patches after relocations

2016-08-18 Thread Petr Mladek
On Wed 2016-08-17 20:58:29, Jessica Yu wrote: > Implement arch_klp_init_object_loaded() for x86, which applies > alternatives/paravirt patches. This fixes the order in which relocations > and alternatives/paravirt patches are applied. > > Previously, if a patch module had alternatives or paravirt

[PATCH v3 2/3] livepatch/x86: apply alternatives and paravirt patches after relocations

2016-08-17 Thread Jessica Yu
Implement arch_klp_init_object_loaded() for x86, which applies alternatives/paravirt patches. This fixes the order in which relocations and alternatives/paravirt patches are applied. Previously, if a patch module had alternatives or paravirt patches, these were applied first by the module loader b