Skip to content

tipc: some cleanups and improvements

Jon Maloy netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 8 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 8 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/8] tipc: some cleanups and improvements

This series mostly contains cleanups and cosmetic code changes. The only real functional change is in #3 and #4, where we change the locking structure for nodes and links in order to permit full concurrency between links working in parallel on different interfaces. Since the groundwork for this has been done in previous commit series, this change constitutes only the final, small step to achieve that goal.

Jon Maloy (8):
tipc: move linearization of buffers to generic code
tipc: small cleanup of function tipc_node_check_state()
tipc: reduce code dependency between binding table and node layer
tipc: introduce per-link spinlock
tipc: convert node lock to rwlock
tipc: narrow down exposure of struct tipc_node
tipc: narrow down interface towards struct tipc_link
tipc: eliminate remnants of hungarian notation

 net/tipc/bcast.c          | 126 +------
 net/tipc/bcast.h          |   1 +
 net/tipc/bearer.c         | 140 ++++----
 net/tipc/bearer.h         |   8 +-
 net/tipc/core.h           |   5 +
 net/tipc/discover.c       |  38 +-
 net/tipc/link.c           | 626 ++++++++++++++++----------------
 net/tipc/link.h           | 175 +--------
 net/tipc/name_distr.c     |  68 +---
 net/tipc/name_distr.h     |   1 -
 net/tipc/name_table.c     |   5 +-
 net/tipc/netlink.c        |   8 +-
 net/tipc/netlink_compat.c |   8 +-
 net/tipc/node.c           | 884 ++++++++++++++++++++++++++++++++++++----------
 net/tipc/node.h           | 127 +------
 net/tipc/udp_media.c      |   5 -
 16 files changed, 1151 insertions(+), 1074 deletions(-)
Signature · 1 line
1.9.1