net: introduce u64_stats_t
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | net: provide dev_lstats_read() helperdrivers/ include/ | +19 | 0 replies | |
| 2/9 | net: provide dev_lstats_add() helperdrivers/ include/ | +12 | 0 replies | |
| 3/9 | net: nlmon: use standard dev_lstats_add() and dev_lstats_read()drivers/ | +3 | 0 replies | |
| 4/9 | veth: use standard dev_lstats_add() and dev_lstats_read()drivers/ | +11 | 0 replies | |
| 5/9 | vsockmon: use standard dev_lstats_add() and dev_lstats_read()drivers/ | +2 | 0 replies | |
| 6/9 | net: dummy: use standard dev_lstats_add() and dev_lstats_read()drivers/ | +5 | 0 replies | |
| 7/9 | u64_stats: provide u64_stats_t typeinclude/ | +47 | 0 replies | |
| 8/9 | tun: switch to u64_stats_tdrivers/ | +16 | 0 replies | |
| 9/9 | net: use u64_stats_t in struct pcpu_lstatsdrivers/ include/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/9] net: introduce u64_stats_t
KCSAN found a data-race in per-cpu u64 stats accounting.
(The stack traces are included in the 8th patch :
tun: switch to u64_stats_t)
This patch series first consolidate code in five patches. Then the last three patches address the data-race resolution.
Eric Dumazet (9):
net: provide dev_lstats_read() helper
net: provide dev_lstats_add() helper
net: nlmon: use standard dev_lstats_add() and dev_lstats_read()
veth: use standard dev_lstats_add() and dev_lstats_read()
vsockmon: use standard dev_lstats_add() and dev_lstats_read()
net: dummy: use standard dev_lstats_add() and dev_lstats_read()
u64_stats: provide u64_stats_t type
tun: switch to u64_stats_t
net: use u64_stats_t in struct pcpu_lstats
drivers/net/dummy.c | 36 ++++-------------------- drivers/net/loopback.c | 38 +++++++++++++------------ drivers/net/nlmon.c | 28 ++----------------- drivers/net/tun.c | 32 ++++++++++----------- drivers/net/veth.c | 43 ++++++++-------------------- drivers/net/vsockmon.c | 31 ++------------------- include/linux/netdevice.h | 16 +++++++++-- include/linux/u64_stats_sync.h | 51 +++++++++++++++++++++++++++++++--- 8 files changed, 118 insertions(+), 157 deletions(-)
Signature · 1 line
2.24.0.432.g9d3f5f5b63-goog