HomeFreeBSD

vt(4): Skip vt_window_switch() for nested panics

Description

vt(4): Skip vt_window_switch() for nested panics

[Why]
The same protection was added to vt_flush() in the previous commit. We
want the same one in vt_window_switch(): if e.g. the DRM driver panics
while handling a call to vt_window_switch(), we don't want to
recursively call vt_window_switch() again and trigger another panic.

Reviewed by: imp, manu
Approved by: imp, manu
Differential Revision: https://reviews.freebsd.org/D42750

Details

Provenance
dumbbellAuthored on Nov 24 2023, 5:30 PM
Reviewer
imp
Differential Revision
D42750: vt(4): Skip vt_window_switch() for nested panics
Parents
rG049e3fba04e8: vt(4): Skip vt_flush() for nested panics
Branches
Unknown
Tags
Unknown