Page MenuHomeFreeBSD

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

Authored by dumbbell on Nov 24 2023, 4:16 PM.
Tags
None
Referenced Files
F154526422: D42750.id130512.diff
Tue, Apr 28, 8:17 PM
F154523876: D42750.id130512.diff
Tue, Apr 28, 8:10 PM
F154498692: D42750.id130532.diff
Tue, Apr 28, 6:32 PM
F154495602: D42750.id130532.diff
Tue, Apr 28, 6:25 PM
Unknown Object (File)
Tue, Apr 21, 2:36 AM
Unknown Object (File)
Mon, Apr 6, 1:36 AM
Unknown Object (File)
Mar 24 2026, 1:15 AM
Unknown Object (File)
Mar 23 2026, 1:52 AM
Subscribers

Details

Summary

Why

The same protection was added to vt_flush() in the previous commit (D42056). 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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable