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)
Thu, Feb 6, 2:16 PM
Unknown Object (File)
Thu, Jan 30, 11:56 AM
Unknown Object (File)
Mon, Jan 27, 9:19 AM
Unknown Object (File)
Fri, Jan 24, 11:55 AM
Unknown Object (File)
Nov 16 2024, 7:59 AM
Unknown Object (File)
Sep 29 2024, 1:22 AM
Unknown Object (File)
Sep 28 2024, 7:31 AM
Unknown Object (File)
Sep 28 2024, 5:29 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