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
Unknown Object (File)
Wed, May 13, 1:48 AM
Unknown Object (File)
Wed, May 13, 1:48 AM
Unknown Object (File)
Mon, May 4, 4:02 PM
Unknown Object (File)
Thu, Apr 30, 7:33 AM
Unknown Object (File)
Tue, Apr 28, 3:48 PM
Unknown Object (File)
Tue, Apr 28, 3:13 AM
Unknown Object (File)
Thu, Apr 23, 8:04 AM
Unknown Object (File)
Wed, Apr 22, 12:16 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