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)
Mar 17 2024, 8:16 PM
Unknown Object (File)
Mar 17 2024, 8:16 PM
Unknown Object (File)
Jan 12 2024, 2:29 PM
Unknown Object (File)
Dec 25 2023, 8:47 AM
Unknown Object (File)
Dec 25 2023, 8:47 AM
Unknown Object (File)
Dec 22 2023, 11:54 PM
Unknown Object (File)
Nov 27 2023, 9:19 PM
Unknown Object (File)
Nov 25 2023, 11:51 AM
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