Re: [RFC 2/5] livepatch: Basic API to track system state changes

2019-06-24 Thread Nicolai Stange
Petr Mladek writes: > --- > include/linux/livepatch.h | 15 + > kernel/livepatch/Makefile | 2 +- > kernel/livepatch/state.c | 83 > +++ > 3 files changed, 99 insertions(+), 1 deletion(-) > create mode 100644 kernel/livepatch/state.c > > di

Re: [RFC 2/5] livepatch: Basic API to track system state changes

2019-06-21 Thread Joe Lawrence
On Tue, Jun 11, 2019 at 03:56:24PM +0200, Petr Mladek wrote: > This is another step how to help maintaining more livepatches. > > One big help was the atomic replace and cumulative livepatches. These > livepatches replaces the already installed ones. Therefore it should nit: s/replaces/replaces

[RFC 2/5] livepatch: Basic API to track system state changes

2019-06-11 Thread Petr Mladek
This is another step how to help maintaining more livepatches. One big help was the atomic replace and cumulative livepatches. These livepatches replaces the already installed ones. Therefore it should be enough when each cumulative livepatch is consistent. The problems might come with shadow var