HomeFreeBSD

vt(4): Make sure vt_switch_timer() has a sleepable context.

Description

vt(4): Make sure vt_switch_timer() has a sleepable context.

Fixes the following panic backtrace:

panic()
usbhid_sync_xfer()
usbhid_set_report()
hid_set_report()
hidbus_write()
hid_write()
hkbd_set_leds()
hkbd_ioctl_locked()
hkbd_ioctl_locked()
hkbd_ioctl()
kbdmux_ioctl()
vt_window_switch()
vt_switch_timer()

Differential Revision: https://reviews.freebsd.org/D36715
MFC after: 1 week
Sponsored by: NVIDIA Networking

Details

Provenance
hselaskyAuthored on Sep 26 2022, 3:10 PM
Differential Revision
D36715: vt(4): Make sure vt_switch_timer() has a sleepable context
Parents
rG78aeba26e8d0: Reorder pmap_bootstrap_state to reduce holes
Branches
Unknown
Tags
Unknown