Re: [PATCH v7 2/7] livepatch: Free only structures with initialized kobject

2018-02-09 Thread Miroslav Benes
On Tue, 6 Feb 2018, Petr Mladek wrote: > We are going to add a feature called atomic replace. It will allow to > create a patch that would replace all already registered patches. > For this, we will need to dynamically create funcs and objects > for functions that are not longer patched. s/not

Re: [PATCH v7 2/7] livepatch: Free only structures with initialized kobject

2018-02-09 Thread Miroslav Benes
On Tue, 6 Feb 2018, Petr Mladek wrote: > We are going to add a feature called atomic replace. It will allow to > create a patch that would replace all already registered patches. > For this, we will need to dynamically create funcs and objects > for functions that are not longer patched. s/not

[PATCH v7 2/7] livepatch: Free only structures with initialized kobject

2018-02-06 Thread Petr Mladek
We are going to add a feature called atomic replace. It will allow to create a patch that would replace all already registered patches. For this, we will need to dynamically create funcs and objects for functions that are not longer patched. We will want to reuse the existing init() and free()

[PATCH v7 2/7] livepatch: Free only structures with initialized kobject

2018-02-06 Thread Petr Mladek
We are going to add a feature called atomic replace. It will allow to create a patch that would replace all already registered patches. For this, we will need to dynamically create funcs and objects for functions that are not longer patched. We will want to reuse the existing init() and free()