USB: serial: add symbol serial driver
A message that is not in the archive (sent off-list or not yet received): [email protected]
On Thu, 26 Mar 2009 19:29:28 GMT
Linux Kernel Mailing List <[email protected]> wrote:
Thank you for not running this past the tty layer maintainer.
Review
Quoted 7 lines
(quoted diff) +7
-0+ /* + * Force low_latency on so that our tty_push actually forces the data + * through, otherwise it is scheduled, and with high data rates (like + * with OHCI) data can get lost. + */ + if (tty) + tty->low_latency = 1;
The above is bogus cargo cult programming copied from old drivers and should be removed.
Otherwise looks fine
Quoted 4 lines · Alan Cox
On Thu, 26 Mar 2009 19:29:28 GMT
Linux Kernel Mailing List <[email protected]> wrote:Thank you for not running this past the tty layer maintainer.
Sorry about that.
Quoted 10 lines
Review
Quoted 7 lines
(quoted diff) +7
-0+ /* + * Force low_latency on so that our tty_push actually forces the data + * through, otherwise it is scheduled, and with high data rates (like + * with OHCI) data can get lost. + */ + if (tty) + tty->low_latency = 1;The above is bogus cargo cult programming copied from old drivers and should be removed.
It's all over the usb-serial drivers, should I just remove it from all of them?
thanks,
greg k-h
Quoted 5 lines
Quoted 2 lines
The above is bogus cargo cult programming copied from old drivers and should be removed.
It's all over the usb-serial drivers, should I just remove it from all of them?
I think so yes. USB folks used it to avoid overrunning the old flip buffer system and with proper buffering that isn't needed. Now its only relevance is if you need very low latency responses which is normally an application layer choice.
Alan