Re: [PATCH] livepatch: Remove reliable stacktrace check in klp_try_switch_task()

2018-07-16 Thread Jiri Kosina
On Thu, 12 Jul 2018, Kamalesh Babulal wrote: > Support for immediate flag was removed by commit d0807da78e11 > ("livepatch: Remove immediate feature"). We bail out during > patch registration for architectures, those don't support > reliable stack trace. Remove the check in klp_try_switch_task(),

Re: [PATCH] livepatch: Remove reliable stacktrace check in klp_try_switch_task()

2018-07-16 Thread Josh Poimboeuf
On Thu, Jul 12, 2018 at 01:35:06PM +0530, Kamalesh Babulal wrote: > Support for immediate flag was removed by commit d0807da78e11 > ("livepatch: Remove immediate feature"). We bail out during > patch registration for architectures, those don't support > reliable stack trace. Remove the check in kl

Re: [PATCH] livepatch: Remove reliable stacktrace check in klp_try_switch_task()

2018-07-16 Thread Josh Poimboeuf
On Sun, Jul 15, 2018 at 01:05:56PM +0530, Kamalesh Babulal wrote: > On Saturday 14 July 2018 12:07 AM, Josh Poimboeuf wrote: > > > We bail out during patch registration for architectures, those don't > > > support reliable stack trace. > > > > Does anybody know if that change was intentional? I t

Re: [PATCH] livepatch: Remove reliable stacktrace check in klp_try_switch_task()

2018-07-15 Thread Kamalesh Babulal
On Saturday 14 July 2018 12:07 AM, Josh Poimboeuf wrote: We bail out during patch registration for architectures, those don't support reliable stack trace. Does anybody know if that change was intentional? I thought the plan was to allow non-consistency-model arches to still use livepatch, and

Re: [PATCH] livepatch: Remove reliable stacktrace check in klp_try_switch_task()

2018-07-13 Thread Josh Poimboeuf
> We bail out during patch registration for architectures, those don't > support reliable stack trace. Does anybody know if that change was intentional? I thought the plan was to allow non-consistency-model arches to still use livepatch, and that they'd just have to 'force' patches to completion

Re: [PATCH] livepatch: Remove reliable stacktrace check in klp_try_switch_task()

2018-07-12 Thread Miroslav Benes
On Thu, 12 Jul 2018, Kamalesh Babulal wrote: > Support for immediate flag was removed by commit d0807da78e11 > ("livepatch: Remove immediate feature"). We bail out during > patch registration for architectures, those don't support > reliable stack trace. Remove the check in klp_try_switch_task(),

Re: [PATCH] livepatch: Remove reliable stacktrace check in klp_try_switch_task()

2018-07-12 Thread Petr Mladek
On Thu 2018-07-12 13:35:06, Kamalesh Babulal wrote: > Support for immediate flag was removed by commit d0807da78e11 > ("livepatch: Remove immediate feature"). We bail out during > patch registration for architectures, those don't support > reliable stack trace. Remove the check in klp_try_switch_t

[PATCH] livepatch: Remove reliable stacktrace check in klp_try_switch_task()

2018-07-12 Thread Kamalesh Babulal
Support for immediate flag was removed by commit d0807da78e11 ("livepatch: Remove immediate feature"). We bail out during patch registration for architectures, those don't support reliable stack trace. Remove the check in klp_try_switch_task(), as its not required. Signed-off-by: Kamalesh Babulal