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, Apr 26, 4:54 PM
Unknown Object (File)
Fri, Apr 26, 4:51 PM
Unknown Object (File)
Thu, Apr 25, 6:45 PM
Unknown Object (File)
Feb 23 2024, 3:55 PM
Unknown Object (File)
Dec 23 2023, 3:03 AM
Unknown Object (File)
Dec 21 2023, 8:06 PM
Unknown Object (File)
Nov 24 2023, 6:50 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