Avoid retrying on serial_xmit with EPIPE
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 14 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | io: Implement QIO_CHANNEL_ERR_BROKENinclude/ io/ | +4 | 1 reply | |
| 2/3 | chardev: On QIO_CHANNEL_ERR_BROKEN set errno to EPIPEchardev/ | +3 | 3 replies | |
| 3/3 | hw/char/serial: Don't retry on serial_xmit if errno == EPIPEhw/ | +1 | 10 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Marc-André Lureau |
|---|---|
| 1/3 | |
| 2/3 | R-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/3] Avoid retrying on serial_xmit with EPIPE
EPIPE is not a recoverable error, so retrying on serial_xmit is a waste of CPU cycles, and can potentially comprosie the Guest OS stability if both the vCPU and the emulator thread are pinned to the same pCPU, with the first one actively polling the serial device and barely giving time to the second to make any actual progress.
Sergio Lopez (3):
io: Implement QIO_CHANNEL_ERR_BROKEN
chardev: On QIO_CHANNEL_ERR_BROKEN set errno to EPIPE hw/char/serial: Don't retry on serial_xmit if errno == EPIPE
chardev/char-io.c | 3 +++ hw/char/serial.c | 1 + include/io/channel.h | 1 + io/channel-file.c | 3 +++ 4 files changed, 8 insertions(+)
Signature · 1 line
1.8.3.1