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, Jul 24, 6:18 AM
Unknown Object (File)
Wed, Jul 22, 4:24 PM
Unknown Object (File)
Tue, Jul 7, 8:28 PM
Unknown Object (File)
Tue, Jul 7, 3:23 AM
Unknown Object (File)
Mon, Jul 6, 4:56 AM
Unknown Object (File)
Jun 11 2026, 3:28 PM
Unknown Object (File)
Jun 4 2026, 8:10 PM
Unknown Object (File)
May 22 2026, 7:17 PM
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