Thread (37 messages) 37 messages, 4 authors, 2022-07-27

Re: [PATCH 3/6] KVM: arm64: Make unwind()/on_accessible_stack() per-unwinder functions

From: Mark Brown <broonie@kernel.org>
Date: 2022-07-27 17:33:50
Also in: kvm, kvmarm

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@kernel.org>

It feels like more of the accessibility stuff *should* be sharable, but
yeah.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help