[PATCH 3/6] KVM: arm64: Make unwind()/on_accessible_stack() per-unwinder functions
Mark Brown
broonie at kernel.org
Wed Jul 27 10:32:29 PDT 2022
On Wed, Jul 27, 2022 at 03:29:03PM +0100, Marc Zyngier wrote:
> Having multiple versions of on_accessible_stack() (one per unwinder)
> makes it very hard to reason about what is used where due to the
> complexity of the various includes, the forward declarations, and
> the reliance on everything being 'inline'.
>
> Instead, move the code back where it should be. Each unwinder
> implements:
>
> - on_accessible_stack() as well as the helpers it depends on,
>
> - unwind()/unwind_next(), as they pass on_accessible_stack as
> a parameter to unwind_next_common() (which is the only common
> code here)
Reviewed-by: Mark Brown <broonie at kernel.org>
It feels like more of the accessibility stuff *should* be sharable, but
yeah.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220727/91c019b0/attachment-0001.sig>
More information about the linux-arm-kernel
mailing list