TTY_FLIPBUF_SIZE
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
From: "Sriram Narasimhan" <[email protected]>
Quoted 3 lines
The
TTY_FLIPBUF_SIZEis restricted to 2 * 512 bytes. Can this be increased to support synchronous serial lines without affecting other serial drivers which still stick to theTTY_FLIPBUF_SIZElimit ?
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