tipc: simplifications in socket and port layer
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | tipc: replace reference table rwlock with spinlocknet/ | +5 | 0 replies | |
| 2/7 | tipc: remove redundant 'peer_name' field in struct tipc_socknet/ net/ net/ | +30 | 0 replies | |
| 3/7 | tipc: aggregate port structure into socket structurenet/ net/ net/ +1 more | +101 | 0 replies | |
| 4/7 | tipc: eliminate upcall function pointers between port and socketnet/ net/ net/ +2 more | +34 | 0 replies | |
| 5/7 | tipc: eliminate redundant lockingnet/ net/ net/ | +47 | 0 replies | |
| 6/7 | tipc: align usage of variable names and macros in socketnet/ net/ net/ | +98 | 0 replies | |
| 7/7 | tipc: eliminate redundant lookups in registrynet/ net/ net/ +2 more | +50 | 0 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Ying Xue | Erik Hugne |
|---|---|---|
| 1/7 | R-b | R-b |
| 2/7 | R-b | R-b |
| 3/7 | R-b | R-b |
| 4/7 | R-b | R-b |
| 5/7 | R-b | R-b |
| 6/7 | R-b | R-b |
| 7/7 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/7] tipc: simplifications in socket and port layer
After the removal of the tipc native API the relation between tipc_port and its API types is strictly one-to-one, i.e, the latter can now only be a socket API. This change opens up for simplifications both in the code, data and locking structure.
We start with this series, where we ensure that port and socket structures are co-allocated. Note that the first commit in the series is unrelated to the above.
Jon Maloy (7):
tipc: replace reference table rwlock with spinlock
tipc: remove redundant 'peer_name' field in struct tipc_sock
tipc: aggregate port structure into socket structure
tipc: eliminate upcall function pointers between port and socket
tipc: eliminate redundant locking
tipc: align usage of variable names and macros in socket
tipc: eliminate redundant lookups in registry
net/tipc/link.c | 4 +- net/tipc/port.c | 208 +++++++++++----------------------------------- net/tipc/port.h | 112 ++++++++++++++++--------- net/tipc/ref.c | 27 ++---- net/tipc/ref.h | 1 - net/tipc/socket.c | 240 +++++++++++++++++++++++++---------------------------- net/tipc/socket.h | 72 ++++++++++++++++ 7 files changed, 314 insertions(+), 350 deletions(-) create mode 100644 net/tipc/socket.h
Signature · 1 line
1.7.9.5