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
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
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.