Re: [PATCH v4.1 2/2] livepatch: force transition to finish

2017-12-19 Thread Petr Mladek
On Mon 2017-12-18 14:23:40, Miroslav Benes wrote: > On Fri, 15 Dec 2017, Jason Baron wrote: > > > On 11/22/2017 05:29 AM, Miroslav Benes wrote: > > > If a task sleeps in a set of patched functions uninterruptedly, it could > > > block the whole transition indefinitely. Thus it may be useful to cl

Re: [PATCH v4.1 2/2] livepatch: force transition to finish

2017-12-18 Thread Josh Poimboeuf
On Mon, Dec 18, 2017 at 02:23:40PM +0100, Miroslav Benes wrote: > On Fri, 15 Dec 2017, Jason Baron wrote: > > > On 11/22/2017 05:29 AM, Miroslav Benes wrote: > > > If a task sleeps in a set of patched functions uninterruptedly, it could > > > block the whole transition indefinitely. Thus it may b

Re: [PATCH v4.1 2/2] livepatch: force transition to finish

2017-12-18 Thread Miroslav Benes
On Fri, 15 Dec 2017, Jason Baron wrote: > On 11/22/2017 05:29 AM, Miroslav Benes wrote: > > If a task sleeps in a set of patched functions uninterruptedly, it could > > block the whole transition indefinitely. Thus it may be useful to clear > > its TIF_PATCH_PENDING to allow the process to finish

Re: [PATCH v4.1 2/2] livepatch: force transition to finish

2017-12-15 Thread Jason Baron
On 11/22/2017 05:29 AM, Miroslav Benes wrote: > If a task sleeps in a set of patched functions uninterruptedly, it could > block the whole transition indefinitely. Thus it may be useful to clear > its TIF_PATCH_PENDING to allow the process to finish. > > Admin can do that now by writing to force

[PATCH v4.1 2/2] livepatch: force transition to finish

2017-11-22 Thread Miroslav Benes
If a task sleeps in a set of patched functions uninterruptedly, it could block the whole transition indefinitely. Thus it may be useful to clear its TIF_PATCH_PENDING to allow the process to finish. Admin can do that now by writing to force sysfs attribute in livepatch sysfs directory. TIF_PATCH_