Re: [PATCH] tty: discard flip-buffer input for TCSAFLUSH

From: Hungyu Lin

Date: Tue Oct 27 2026 - 04:22:05 EST


> What commit id does this fix? How was this tested?

The missing flip-buffer flush is already present in 1da177e4c3f4
(initial Git import). I could not identify its original introducing
commit.

Tested on ARM64 QEMU: an 8192-byte PTY write leaves 4097 stale bytes after
TCSAFLUSH before the fix, and none afterwards. Built the ARM64 Image and
32-bit x86 tty_ioctl.o with GCC 13.3.0, W=1.

I'll send v2 addressing the unthrottle issue.

Thanks,
Hungyu