Commit 2cb5cf5d authored by Andrew Waterman's avatar Andrew Waterman
Browse files

For NS16550 UART, poll stdin less often

On my Mac Mini, calling `poll()` on stdin takes around 10 us, and we
are invoking it every 20 us or so.  Reduce the frequency of polling
by 16x when not actively receiving data, thereby reducing the fraction
of time spent in `poll()` to a trivial amount.
parent a4d62fd2
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment