Page MenuHomeFreeBSD

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

Authored by hselasky on Sep 26 2022, 3:12 PM.
Tags
None
Referenced Files
F140928078: D36715.diff
Mon, Dec 29, 6:13 PM
Unknown Object (File)
Sat, Dec 27, 12:37 AM
Unknown Object (File)
Fri, Dec 12, 1:31 AM
Unknown Object (File)
Wed, Dec 10, 1:09 PM
Unknown Object (File)
Nov 27 2025, 4:50 PM
Unknown Object (File)
Nov 26 2025, 8:57 PM
Unknown Object (File)
Nov 22 2025, 7:45 PM
Unknown Object (File)
Nov 18 2025, 9:28 PM
Subscribers

Details

Summary

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()

MFC after: 1 week
Sponsored by: NVIDIA Networking

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

hselasky edited the summary of this revision. (Show Details)

Whitespace fixes.

Fix compilation and some whitespace.

manu added a subscriber: avg.

If that solves @avg's problem I'm ok with the switch to taskqueue. (Not tested though).

This revision is now accepted and ready to land.Sep 26 2022, 3:36 PM

seems reasonable on the surface