Date: Fri, 14 Nov 1997 14:01:41 +1100 From: Bruce Evans <bde@zeta.org.au> To: bde@zeta.org.au, mouth@ibm.net Cc: hackers@FreeBSD.ORG Subject: Re: Status of 650 UART support Message-ID: <199711140301.OAA11983@godzilla.zeta.org.au>
next in thread | raw e-mail | index | archive | help
>>>Why can't we handle large bursts of input? >> >>Buffer sizes are finite. > >Can't we use malloc to create elastic buffers on the fly? Is that a >no-no in the kernel? It is impossible to do in fast interrrupt handlers like siointr(), tricky to do in ordinary interrupt handlers, and not done any interrupt handlers except network ones (including ppp). >Why not start from scratch and develop siov2.c which uses elastic >buffers, 650 polled vs. interrupt mode switching, yada, yada, yada. High costs/benefits. It can't be made more than about 10% faster in that way on a reasonably fast CPU, since most of the overheads are for waiting for the ISA bus. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711140301.OAA11983>