public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
* TTY_FLIPBUF_SIZE
@ 2002-12-17 11:43 Sriram Narasimhan
  2002-12-17 16:13 ` TTY_FLIPBUF_SIZE Stuart MacDonald
  0 siblings, 1 reply; 2+ messages in thread
From: Sriram Narasimhan @ 2002-12-17 11:43 UTC (permalink / raw)
  To: linux-serial

Hello,

The TTY_FLIPBUF_SIZE is restricted to 2 * 512 bytes. Can this be 
increased to support synchronous serial lines without affecting other 
serial drivers which still stick to the TTY_FLIPBUF_SIZE limit ?

Thank you.

Regards,
Sriram


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: TTY_FLIPBUF_SIZE
  2002-12-17 11:43 TTY_FLIPBUF_SIZE Sriram Narasimhan
@ 2002-12-17 16:13 ` Stuart MacDonald
  0 siblings, 0 replies; 2+ messages in thread
From: Stuart MacDonald @ 2002-12-17 16:13 UTC (permalink / raw)
  To: Sriram Narasimhan, linux-serial

From: "Sriram Narasimhan" <nsri@tataelxsi.co.in>
> The TTY_FLIPBUF_SIZE is restricted to 2 * 512 bytes. Can this be
> increased to support synchronous serial lines without affecting other
> serial drivers which still stick to the TTY_FLIPBUF_SIZE limit ?

No. Check the code. struct tty_struct depends on being less than one
page (4 kb) in size, and making the flip bufs any much bigger will
break that.

..Stu



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-17 16:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-17 11:43 TTY_FLIPBUF_SIZE Sriram Narasimhan
2002-12-17 16:13 ` TTY_FLIPBUF_SIZE Stuart MacDonald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox