Re: [PATCH v0 2/3] livepatch: update documentation/samples for callbacks

2018-03-02 Thread Joe Lawrence
On 03/02/2018 06:11 AM, Petr Mladek wrote: > On Tue 2018-02-27 09:58:40, Joe Lawrence wrote: >> In my mind, atomic replace is the mechanism that forces patching to be >> cumulative. Perhaps this is too strict? Are there other use-cases for >> atomic-replace? > > Jason talked about using the atom

Re: [PATCH v0 2/3] livepatch: update documentation/samples for callbacks

2018-03-02 Thread Petr Mladek
On Tue 2018-02-27 09:58:40, Joe Lawrence wrote: > On 02/27/2018 07:36 AM, Miroslav Benes wrote: > > On Fri, 23 Feb 2018, Joe Lawrence wrote: > > > >> [ ... snip ... ] > >> > >> +If a livepatch is replaced by a cumulative patch, then only the > >> +callbacks belonging to the cumulative patch will

Re: [PATCH v0 2/3] livepatch: update documentation/samples for callbacks

2018-02-28 Thread Miroslav Benes
On Tue, 27 Feb 2018, Joe Lawrence wrote: > On 02/27/2018 07:36 AM, Miroslav Benes wrote: > > On Fri, 23 Feb 2018, Joe Lawrence wrote: > > > >> [ ... snip ... ] > >> > >> +If a livepatch is replaced by a cumulative patch, then only the > >> +callbacks belonging to the cumulative patch will be ex

Re: [PATCH v0 2/3] livepatch: update documentation/samples for callbacks

2018-02-27 Thread Joe Lawrence
On 02/27/2018 07:36 AM, Miroslav Benes wrote: > On Fri, 23 Feb 2018, Joe Lawrence wrote: > >> [ ... snip ... ] >> >> +If a livepatch is replaced by a cumulative patch, then only the >> +callbacks belonging to the cumulative patch will be executed. This >> +simplifies the livepatching core for i

Re: [PATCH v0 2/3] livepatch: update documentation/samples for callbacks

2018-02-27 Thread Miroslav Benes
On Fri, 23 Feb 2018, Joe Lawrence wrote: > Update livepatch callback documentation and samples with respect to new > atomic replace / cumulative patch functionality. > > Signed-off-by: Joe Lawrence > --- > Documentation/livepatch/callbacks.txt | 102 > samples/livepatch

[PATCH v0 2/3] livepatch: update documentation/samples for callbacks

2018-02-23 Thread Joe Lawrence
Update livepatch callback documentation and samples with respect to new atomic replace / cumulative patch functionality. Signed-off-by: Joe Lawrence --- Documentation/livepatch/callbacks.txt | 102 samples/livepatch/Makefile| 1 + samples/livepatch/