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
Unknown Object (File)
Thu, Feb 26, 4:29 AM
Unknown Object (File)
Mon, Feb 9, 11:34 AM
Unknown Object (File)
Jan 22 2026, 3:41 AM
Unknown Object (File)
Jan 19 2026, 6:56 PM
Unknown Object (File)
Jan 10 2026, 11:44 PM
Unknown Object (File)
Dec 29 2025, 8:20 AM
Unknown Object (File)
Dec 11 2025, 1:48 AM
Unknown Object (File)
Oct 31 2025, 5:05 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