Skip to content

livepatch: Remove custom kobject state handling and duplicated code

Petr Mladek lkml 1 version Applied

Status from this message: I've applied this to for-5.2/core. Thanks,

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2livepatch: Remove custom kobject state handlinginclude/linux/livepatch.h kernel/livepatch/core.c+17 -423 replies
2/2livepatch: Remove duplicated code for early initializationkernel/livepatch/core.c+26 -161 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJoe LawrenceKamalesh Babulal
SeriesA-b
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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/[email protected]

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(-)
Signature · 1 line
2.16.4