Re: [PATCH v2 3/3] livepatch: force transition process to finish

2017-08-30 Thread Josh Poimboeuf
On Wed, Aug 30, 2017 at 02:48:24PM +0200, Miroslav Benes wrote: > On Wed, 30 Aug 2017, Pavel Machek wrote: > > > On Thu 2017-08-10 12:48:15, Miroslav Benes wrote: > > > If a task sleeps in a set of patched functions uninterruptibly, it could > > > block the whole transition process indefinitely.

Re: [PATCH v2 3/3] livepatch: force transition process to finish

2017-08-30 Thread Miroslav Benes
On Wed, 30 Aug 2017, Pavel Machek wrote: > On Thu 2017-08-10 12:48:15, Miroslav Benes wrote: > > If a task sleeps in a set of patched functions uninterruptibly, it could > > block the whole transition process indefinitely. Thus it may be useful > > to clear its TIF_PATCH_PENDING to allow the proc

Re: [PATCH v2 3/3] livepatch: force transition process to finish

2017-08-30 Thread Pavel Machek
On Thu 2017-08-10 12:48:15, Miroslav Benes wrote: > If a task sleeps in a set of patched functions uninterruptibly, it could > block the whole transition process indefinitely. Thus it may be useful > to clear its TIF_PATCH_PENDING to allow the process to finish. > > Admin can do that now by writi