Re: [PATCH 1/1] serial_core: Update buffer overrun statistics.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri,  4 May 2012 12:35:10 -0500
Corbin Atkinson <corbinat@xxxxxxxxx> wrote:

> Currently, serial drivers don't report buffer overruns. When a buffer overrun
> occurs, tty_insert_flip_char returns 0, and no attempt is made to insert that
> same character again (i.e. it is lost). This patch reports buffer overruns via
> the buf_overrun field in the port's icount structure.

I think this is mostly a misunderstanding - it's always been interpreted
as logging hardware reported overrruns. The case of the software layer
losing bytes is a "doesn't happen in normal circumstances" situation. At
least it should be.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux