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)
Wed, Oct 15, 12:41 PM
Unknown Object (File)
Wed, Oct 15, 12:41 PM
Unknown Object (File)
Wed, Oct 15, 12:41 PM
Unknown Object (File)
Wed, Oct 15, 1:42 AM
Unknown Object (File)
Wed, Oct 8, 8:36 AM
Unknown Object (File)
Thu, Oct 2, 11:46 AM
Unknown Object (File)
Sat, Sep 27, 4:12 AM
Unknown Object (File)
Sep 4 2025, 7:13 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