HomeFreeBSD

Always stop the scheduler when entering kdb

Description

Always stop the scheduler when entering kdb

Set curthread->td_stopsched when entering kdb via any vector.
Previously, it was only set when entering via panic, so when
entering kdb another way, mutexes and such were still "live",
and an attempt to lock an already locked mutex would panic.

Reviewed by: kib, cem
Discussed with: jhb
Tested by: pho
MFC after: 2 months
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D17687

Details

Provenance
vangyzenAuthored on
Reviewer
kib
Differential Revision
D17687: Always stop the scheduler when entering kdb
Parents
rS339916: Build the csu tests on all architectures.
Branches
Unknown
Tags
Unknown