vsock/virtio: SKB allocation improvements
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest9 patches 14 repliesIn review
- v39 patches 9 repliesSuperseded
- v28 patches 12 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 5 patches | 14 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | vhost/vsock: Avoid allocating arbitrarily-sized SKBsdrivers/ | +4 | 2 replies | |
| 2/9 | vsock/virtio: Validate length in packet header before skb_put()net/ | +10 | 1 reply | |
| 3/9 | vsock/virtio: Move length check to callers of virtio_vsock_skb_rx_put()drivers/ include/ net/ | +6 | 0 replies | |
| 4/9 | vsock/virtio: Resize receive buffers so that each SKB fits in a 4K pageinclude/ net/ | +7 | 3 replies | |
| 5/9 | vsock/virtio: Rename virtio_vsock_alloc_skb()drivers/ include/ net/ +1 more | +5 | 0 replies | |
| 6/9 | vsock/virtio: Move SKB allocation lower-bound check to callersdrivers/ include/ | +2 | 0 replies | |
| 7/9 | vhost/vsock: Allocate nonlinear SKBs for handling large receive buffersdrivers/ include/ | +36 | 0 replies | |
| 8/9 | vsock/virtio: Rename virtio_vsock_skb_rx_put()drivers/ include/ net/ | +3 | 0 replies | |
| 9/9 | vsock/virtio: Allocate nonlinear SKBs for handling large transmit buffersnet/ | +3 | 5 replies |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Stefano Garzarella | Michael S. Tsirkin |
|---|---|---|
| Series | A-b | |
| 1/9 | R-b | |
| 2/9 | R-b | |
| 3/9 | R-b | |
| 4/9 | R-b | |
| 5/9 | R-b | |
| 6/9 | R-b | |
| 7/9 | R-b | |
| 8/9 | R-b | |
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/9] vsock/virtio: SKB allocation improvements
Hi all,
Here is version four of the patches I previously posted here:
v1: https://lore.kernel.org/r/[email protected]
v2: https://lore.kernel.org/r/[email protected]
v3: https://lore.kernel.org/r/[email protected]
There are only two minor changes since v3:
* Use unlikely() in payload length check on the virtio rx path
* Add R-b tags from Stefano
Cheers,
Will
--->8
Will Deacon (9):
vhost/vsock: Avoid allocating arbitrarily-sized SKBs vsock/virtio: Validate length in packet header before skb_put() vsock/virtio: Move length check to callers of
virtio_vsock_skb_rx_put()
vsock/virtio: Resize receive buffers so that each SKB fits in a 4K
page
vsock/virtio: Rename virtio_vsock_alloc_skb() vsock/virtio: Move SKB allocation lower-bound check to callers vhost/vsock: Allocate nonlinear SKBs for handling large receive
buffers
vsock/virtio: Rename virtio_vsock_skb_rx_put() vsock/virtio: Allocate nonlinear SKBs for handling large transmit
buffers
drivers/vhost/vsock.c | 15 ++++---- include/linux/virtio_vsock.h | 46 +++++++++++++++++++------ net/vmw_vsock/virtio_transport.c | 20 ++++++++--- net/vmw_vsock/virtio_transport_common.c | 3 +- 4 files changed, 60 insertions(+), 24 deletions(-)
Signature · 1 line
2.50.0.727.gbf7dc18ff4-goog