lkml.org 
[lkml]   [2019]   [May]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] livepatch: Remove custom kobject state handling and duplicated code
Date
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@kernel.org


Petr Mladek (2):
livepatch: Remove custom kobject state handling
livepatch: Remove duplicated code for early initialization

include/linux/livepatch.h | 3 --
kernel/livepatch/core.c | 86 ++++++++++++++++++++---------------------------
2 files changed, 37 insertions(+), 52 deletions(-)

--
2.16.4

\
 
 \ /
  Last update: 2019-05-03 15:27    [W:0.769 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site