HomeFreeBSD

atkbd: Reduce polling rate from 10Hz to ~1Hz.

Description

atkbd: Reduce polling rate from 10Hz to ~1Hz.

In my understanding this is only needed to workaround lost interrupts.
I was thinking to remove it completely, but the comment about edge-
triggered interrupt may be true and needs deeper investigation. ~1Hz
should be often enough to handle the supposedly rare loss cases, but
rare enough to not appear in top. Add sysctl hw.atkbd.hz to tune it.

MFC after: 1 month

(cherry picked from commit 9e007a88d65ba0d23e73c3c052d474a78260d503)

Details

Provenance
mavAuthored on Jan 5 2022, 4:32 PM
Parents
rGf6e755d1b26b: geom: Handle partial I/O in g_{read,write,delete}_data()
Branches
Unknown
Tags
Unknown