Re: [PATCH 5/6] livepatch v5: split init and free code that is done only for loaded modules

2014-12-10 Thread Josh Poimboeuf
On Wed, Dec 10, 2014 at 11:30:16AM +0100, Petr Mladek wrote: > On Tue 2014-12-09 12:51:41, Josh Poimboeuf wrote: > > On Tue, Dec 09, 2014 at 07:05:06PM +0100, Petr Mladek wrote: > > > This patch makes it clear what initialization and freeing steps need to > > > be done > > > when an object (module

Re: [PATCH 5/6] livepatch v5: split init and free code that is done only for loaded modules

2014-12-10 Thread Petr Mladek
On Tue 2014-12-09 12:51:41, Josh Poimboeuf wrote: > On Tue, Dec 09, 2014 at 07:05:06PM +0100, Petr Mladek wrote: > > This patch makes it clear what initialization and freeing steps need to be > > done > > when an object (module) is being loaded or removed. It will help to maintain > > the module c

Re: [PATCH 5/6] livepatch v5: split init and free code that is done only for loaded modules

2014-12-09 Thread Josh Poimboeuf
On Tue, Dec 09, 2014 at 07:05:06PM +0100, Petr Mladek wrote: > This patch makes it clear what initialization and freeing steps need to be > done > when an object (module) is being loaded or removed. It will help to maintain > the module coming and going handlers. Also it will remove duplicated > c

[PATCH 5/6] livepatch v5: split init and free code that is done only for loaded modules

2014-12-09 Thread Petr Mladek
This patch makes it clear what initialization and freeing steps need to be done when an object (module) is being loaded or removed. It will help to maintain the module coming and going handlers. Also it will remove duplicated code from these handlers. Signed-off-by: Petr Mladek --- kernel/livepa