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)
Fri, Feb 21, 6:07 AM
Unknown Object (File)
Fri, Feb 21, 5:45 AM
Unknown Object (File)
Fri, Feb 21, 5:34 AM
Unknown Object (File)
Wed, Feb 19, 2:06 PM
Unknown Object (File)
Sun, Jan 26, 12:33 PM
Unknown Object (File)
Jan 23 2025, 1:34 AM
Unknown Object (File)
Jan 17 2025, 12:25 PM
Unknown Object (File)
Jan 14 2025, 10:08 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 Skipped
Unit
Tests Skipped

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