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

From: Petr Mladek
Date: Thu Jul 12 2018 - 04:34:14 EST


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_task(),
> as its not required.
>
> Signed-off-by: Kamalesh Babulal <kamalesh@xxxxxxxxxxxxxxxxxx>

Good catch!

Reviewed-by: Petr Mladek <pmladek@xxxxxxxx>

Best Regards,
Petr