udp: Fix multicast performance issues.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 3 repliesIn review
- v22 patches 1 replySuperseded
- v12 patches 6 repliesSuperseded
Changes in v3 from the cover letter
- avoid flushing under lock unnecessarily at ARRAY_SIZE boundary
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | udp: Simplify __udp*_lib_mcast_deliver.net/ net/ | +49 | 1 reply | |
| 2/2 | udp: Use hash2 for long hash1 chains in __udp*_lib_mcast_deliver.include/ net/ net/ | +55 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Eric Dumazet |
|---|---|
| 1/2 | A-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v3 0/2] udp: Fix multicast performance issues.
Fix performance issues with listening to many different multicast sockets on different addresses with the same port. Instead of always using hash1, fall back to hash2 lookup when hash1 lookup is long. Patch 1 is a general cleanup and simplification which also makes the main implementation in Patch 2 simpler.
Eric's recent change 63c6f81cdde5 avoided this being an issue in early demux. This makes it work for regular delivery as well.
v1->v2
- updated hash collision detection
v2->v3
- avoid flushing under lock unnecessarily at ARRAY_SIZE boundary