Module Name:    src
Committed By:   riastradh
Date:           Sun Dec 26 21:33:48 UTC 2021

Modified Files:
        src/sys/arch/amd64/amd64: machdep.c
        src/sys/arch/i386/i386: machdep.c
        src/sys/arch/sparc64/sparc64: machdep.c

Log Message:
sys: Skip suspendsched on cpu_reboot if we're in ddb.

If we're in ddb, the scheduler and all other CPUs are quiesced
anyway.  But suspendsched will try to take an adaptive lock, which
causes it to crash and re-enter ddb, which isn't very useful for
rebooting.


To generate a diff of this commit:
cvs rdiff -u -r1.360 -r1.361 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -u -r1.833 -r1.834 src/sys/arch/i386/i386/machdep.c
cvs rdiff -u -r1.303 -r1.304 src/sys/arch/sparc64/sparc64/machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to