Re: [PATCH v1 3/3] drivers/tty: increase priority for tty_buffer_worker
From: Greg Kroah-Hartman
Date: Thu Jan 10 2019 - 11:30:37 EST
On Thu, Jan 10, 2019 at 04:19:53PM +0100, Oleksij Rempel wrote:
> > My gut feel is that if somebody still cares deeply about serial line
> > latency, they should look at trying to see if they can do some of the
> > work directly without the bounce to the workqueue. We use workqueues
> > for a reason, but it's possible that some of it could be avoided at
> > least in special cases... And yours sounds like a special case.
>
> It is for industrial low latency RS-422 based application. The loopback
> test is just easy way to test/reproduce it without additional hardware.
>
> What is good, mainlineable way to implement it?
What is the real problem your systems are having? Are they serial-port
limited? Is latency a big issue? Trying to tune for a fake workload
isn't the best way to solve anything :)
thanks,
greg k-h