HomeFreeBSD

Kick off the suspend sequence from the keyboard in a SWI rather than
rS152222Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Kick off the suspend sequence from the keyboard in a SWI rather than
in the hardware interrupt context (even if it is likely just an
ithread). We don't document that suspend/resume routines are run from
such a context and some of the things that happen in those routines
aren't interrupt safe. Since there's no real need to run from that
context, this restores assumptions that suspend routines have made.

This fixes Thierry Herbelot's 'Trying to sleep while sleeping is
prohibited' problem.

Details

Provenance
impAuthored on
Parents
rS152221: Clarify panic message, I parsed the old one 'trying to sleep while sleeping'
Branches
Unknown
Tags
Unknown

Event Timeline