Re: atkbd_timeout() period?
- Reply: Mehmet Erol Sanliturk : "Re: atkbd_timeout() period?"
- In reply to: Alexander Motin : "atkbd_timeout() period?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Jan 2022 06:39:01 UTC
On Tue, Jan 4, 2022 at 10:42 PM Alexander Motin <mav@freebsd.org> wrote: > Hi, > > As I see, one of the most active threaded callouts on idle VMware VM and > some hardware is atkbd_timeout(), called 10 times per second. Plus it > is also one of few remaining non-MP-safe callouts. According to the > comment it seems to be only a workaround for some lost interrupts. That > makes me thing: is it really needed to run so often and so accurate, or > may be we could reduce it to 1-2 times per second? Or may be it can be > avoided somehow 20 years later? > Yea, we can likely just trash it and wait for people to complain about the keyboard being hung. I doubt we'll get any complaints because Xaccel 2.1 was quite a long time ago... It is no longer relevant and the original conditions that caused the lost interrupts are likely long gone... And if they aren't, we'll get a reproducible test case to judge what the right workaround should be. Warner