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)
Mon, May 11, 4:06 PM
Unknown Object (File)
Mon, May 11, 1:58 AM
Unknown Object (File)
Mon, May 11, 1:36 AM
Unknown Object (File)
Mon, May 11, 1:36 AM
Unknown Object (File)
Mon, May 11, 12:53 AM
Unknown Object (File)
Sun, May 10, 10:36 AM
Unknown Object (File)
Sun, May 10, 5:24 AM
Unknown Object (File)
Sun, May 10, 5:24 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