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)
Sat, Feb 22, 2:15 PM
Unknown Object (File)
Sat, Feb 22, 1:44 PM
Unknown Object (File)
Sat, Feb 22, 1:38 PM
Unknown Object (File)
Feb 15 2025, 5:56 PM
Unknown Object (File)
Feb 15 2025, 9:20 AM
Unknown Object (File)
Feb 6 2025, 2:16 PM
Unknown Object (File)
Jan 30 2025, 11:56 AM
Unknown Object (File)
Jan 27 2025, 9:19 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