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, Nov 1, 9:23 PM
Unknown Object (File)
Fri, Nov 1, 9:23 PM
Unknown Object (File)
Fri, Nov 1, 9:23 PM
Unknown Object (File)
Fri, Nov 1, 9:23 PM
Unknown Object (File)
Fri, Nov 1, 9:23 PM
Unknown Object (File)
Fri, Nov 1, 9:11 PM
Unknown Object (File)
Sep 26 2024, 1:49 AM
Unknown Object (File)
Sep 23 2024, 7:07 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