Skip to contentSkip to conversation

TTY_FLIPBUF_SIZE

DISCUSSION Sriram Narasimhan 2 participants 2 messages Dec 17, 2002 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

From: "Sriram Narasimhan" <[email protected]>

Quoted 3 lines

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