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
F97030562: D42750.diff
Fri, Sep 27, 12:56 PM
F96980266: D42750.diff
Fri, Sep 27, 8:50 AM
Unknown Object (File)
Sat, Sep 21, 11:30 AM
Unknown Object (File)
Aug 12 2024, 11:56 PM
Unknown Object (File)
Aug 12 2024, 6:46 PM
Unknown Object (File)
Aug 12 2024, 11:32 AM
Unknown Object (File)
Jul 29 2024, 9:48 AM
Unknown Object (File)
Jul 16 2024, 12:57 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