HomeFreeBSD

When doing ARM stack unwinding as part of stack_save(9), do not search

Description

When doing ARM stack unwinding as part of stack_save(9), do not search
loaded modules (pass 0/false for the can_lock arg). Searching the unwind
info in modules acquires an exclusive sxlock, and the stack(9) functions can
be called in a context where unbounded sleeps are forbidden (such as from
the witness checkorder code).

Just ignoring the existence of modules in stack_save() is not ideal, so I'm
looking for a better solution, but this commit will make it possible to boot
an ARM kernel with WITNESS enabled again, until I get something better.

PR: 242200

Details

Provenance
ianAuthored on
Parents
rS355068: Linux epoll: Allow passing of any negative timeout value to epoll_wait
Branches
Unknown
Tags
Unknown