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)
Fri, Oct 31, 5:05 AM
Unknown Object (File)
Oct 25 2025, 4:34 AM
Unknown Object (File)
Oct 21 2025, 4:52 AM
Unknown Object (File)
Oct 15 2025, 12:41 PM
Unknown Object (File)
Oct 15 2025, 12:41 PM
Unknown Object (File)
Oct 15 2025, 12:41 PM
Unknown Object (File)
Oct 15 2025, 1:42 AM
Unknown Object (File)
Oct 8 2025, 8:36 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 Skipped
Unit
Tests Skipped