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)
Sep 29 2024, 1:22 AM
Unknown Object (File)
Sep 28 2024, 7:31 AM
Unknown Object (File)
Sep 28 2024, 5:29 AM
Unknown Object (File)
Sep 27 2024, 12:56 PM
Unknown Object (File)
Sep 27 2024, 8:50 AM
Unknown Object (File)
Sep 21 2024, 11:30 AM
Unknown Object (File)
Aug 12 2024, 11:56 PM
Unknown Object (File)
Aug 12 2024, 6:46 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 Skipped
Unit
Tests Skipped