The register file of such a thread is in an indeterminate state, so we
shouldn't assume that the frame pointer is valid. In particular, we may
be in the middle of restoring host registers after a vmexit.
Details
Details
- Reviewers
jhb kib - Commits
- rS321803: Don't trace running threads that have interrupts disabled.
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 10756 Build 11151: arc lint + arc unit
Event Timeline
Comment Actions
We use an NMI to avoid to avoid a deadlock: the case where the target thread holds a spinlock and thus has interrupts disabled, and is blocked on the thread lock held by the stack_save_td_running() caller.