Re: [PATCH 0/2] livepatch: Remove custom kobject state handling and duplicated code

From: Jiri Kosina
Date: Fri May 03 2019 - 15:17:07 EST


On Fri, 3 May 2019, Petr Mladek wrote:

> Tobin's patch[1] uncovered that the livepatching code handles kobjects
> a too complicated way.
>
> The first patch removes the unnecessary custom kobject state handling.
>
> The second patch is an optional code deduplication. I did something
> similar already when introducing the atomic replace. But it was
> not considered worth it. There are more duplicated things now...
>
> [1] https://lkml.kernel.org/r/20190430001534.26246-1-tobin@xxxxxxxxxx
>
>
> Petr Mladek (2):
> livepatch: Remove custom kobject state handling
> livepatch: Remove duplicated code for early initialization

I've applied this to for-5.2/core. Thanks,

--
Jiri Kosina
SUSE Labs