> To conclude, the store the *last* N bytes received seems a more > reasonable policy for the input buffers managed by the kernel. If the For your use maybe, but it is not the normal behaviour and it is not the behaviour supported by hardware, which generally buffers the first few bytes (and some things like Apple localtalk actually rely upon this) > other policy is used (as tty does), then the kernel should flush all > the buffers he *can* physically flush, remaining inside the host > computer of course. It certainly does no harm to try and do the job as best you can. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- [SOLVED] Serial buffer corruption [was Re: FTDI usb-serial possible bug]
- From: "Antonino Ingargiola" <[email protected]>
- Re: [SOLVED] Serial buffer corruption [was Re: FTDI usb-serial possible bug]
- From: Paul Fulghum <[email protected]>
- Re: [SOLVED] Serial buffer corruption [was Re: FTDI usb-serial possible bug]
- From: Alan Cox <[email protected]>
- Re: [SOLVED] Serial buffer corruption [was Re: FTDI usb-serial possible bug]
- From: Oliver Neukum <[email protected]>
- Re: [SOLVED] Serial buffer corruption [was Re: FTDI usb-serial possible bug]
- From: Alan Cox <[email protected]>
- Re: [SOLVED] Serial buffer corruption [was Re: FTDI usb-serial possible bug]
- From: "Antonino Ingargiola" <[email protected]>
- Re: [SOLVED] Serial buffer corruption [was Re: FTDI usb-serial possible bug]
- From: Alan Cox <[email protected]>
- Re: [SOLVED] Serial buffer corruption [was Re: FTDI usb-serial possible bug]
- From: "Antonino Ingargiola" <[email protected]>
- [SOLVED] Serial buffer corruption [was Re: FTDI usb-serial possible bug]
- Prev by Date: Re: [SOLVED] Serial buffer corruption [was Re: FTDI usb-serial possible bug]
- Next by Date: Re: [PATCH 1/2] fs: Fix indentation in do_path_lookup
- Previous by thread: Re: [SOLVED] Serial buffer corruption [was Re: FTDI usb-serial possible bug]
- Next by thread: Re: [Linux-usb-users] [SOLVED] Serial buffer corruption [was Re: FTDI usb-serial possible bug]
- Index(es):