low_latency flag has gone missing
Some of the serial drivers that I maintain can make a tradeoff between CPU usage, throughput, and rx data latency. For the past 20 years, I've based that tradeoff on the tty struct's "low_latency" flag. This allowed the user to choose between high-throughput with low CPU usage, or higher CPU usage with lower latency and lower total throughput.
That low_latency flag appears to have "gone away" in v5.12.
How are users now supposed to indicate their desire for low-latency operation for a serial port?
--
Grant
Greg KH
maintainerQuoted 10 lines · Grant Edwards
Some of the serial drivers that I maintain can make a tradeoff between CPU usage, throughput, and rx data latency. For the past 20 years, I've based that tradeoff on the tty struct's "
low_latency" flag. This allowed the user to choose between high-throughput with low CPU usage, or higher CPU usage with lower latency and lower total throughput.That
low_latencyflag appears to have "gone away" in v5.12.How are users now supposed to indicate their desire for low-latency operation for a serial port?
Given that there are no in-kernel users of this "option", perhaps hardware has caught up to the fact that it really wasn't doing anything :)
Do you have proof that it was working as expected somehow?
thanks,
greg k-h