Re: [PATCH v13 06/12] livepatch: Simplify API by removing registration step

2018-10-18 Thread Petr Mladek
On Wed 2018-10-17 14:06:57, Josh Poimboeuf wrote: > On Mon, Oct 15, 2018 at 02:37:07PM +0200, Petr Mladek wrote: > > @@ -319,96 +316,66 @@ forced it is guaranteed that no task sleeps or runs > > in the old code. > > 5. Livepatch life-cycle > > === > > > > -Livepatching defi

Re: [PATCH v13 06/12] livepatch: Simplify API by removing registration step

2018-10-17 Thread Josh Poimboeuf
On Mon, Oct 15, 2018 at 02:37:07PM +0200, Petr Mladek wrote: > @@ -319,96 +316,66 @@ forced it is guaranteed that no task sleeps or runs in > the old code. > 5. Livepatch life-cycle > === > > -Livepatching defines four basic operations that define the life cycle of each > -

[PATCH v13 06/12] livepatch: Simplify API by removing registration step

2018-10-15 Thread Petr Mladek
The possibility to re-enable a registered patch was useful for immediate patches where the livepatch module had to stay until the system reboot. The improved consistency model allows to achieve the same result by unloading and loading the livepatch module again. Also we are going to add a feature