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

From: Kamalesh Babulal
Date: Sun Jul 15 2018 - 03:46:15 EST


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
that they'd just have to 'force' patches to completion instead. That
seems a little more forgiving.


The initial proposal was to allow 'force' feature on architectures
without HAVE_RELIABLE_STACKTRACE support and use pr_notice() to warn
user about the non-availability of consistency model. It was argued
against, as it will encourage people to use it as an alternative instead
of adding HAVE_RELIABLE_STACKTRACE support to the kernel.

--
cheers,
Kamalesh.