Re: git: ce881170088c - main - atkbd: Disable periodic polling by default.
Date: Wed, 05 Jan 2022 23:18:25 UTC
On Wed, Jan 5, 2022, 3:47 PM Gleb Smirnoff <glebius@freebsd.org> wrote: > On Wed, Jan 05, 2022 at 08:13:03PM +0000, Alexander Motin wrote: > A> commit ce881170088c4c98c036fe561f8ee8413c2e2585 > A> Author: Alexander Motin <mav@FreeBSD.org> > A> AuthorDate: 2022-01-05 20:00:36 +0000 > A> Commit: Alexander Motin <mav@FreeBSD.org> > A> CommitDate: 2022-01-05 20:12:58 +0000 > A> > A> atkbd: Disable periodic polling by default. > A> > A> It is one of the few remaining Giant-locked callouts. It would be > A> good to remove it, not mentioning that polling itself is not good. > A> > A> If this cause keyboard/mouse freezes on some hardware, please set > A> loader tunable hw.atkbd.hz=1 as workaround and report the issue. > A> > A> Submitted by: imp, jhb > > Lame question: this is related only to a keyboard plugged into PS/2, isn't > it? > Yes. I think this part of the code is only for "legacy" keyboards. I don't think mice are affected, but since both attach to the keyboard controller there is a tiny chance mice might be affected in some weird hardware... Warner >