Skip to content

RFC refcount: add tracking infrastructure

Eric Dumazet netdev oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2lib: add reference counting infrastructureinclude/linux/ref_tracker.h lib/Kconfig lib/Makefile +1 more+200 -010 replies
2/2net: add dev_hold_track() and dev_put_track() helpersinclude/linux/netdevice.h net/Kconfig net/core/dev.c+34 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC -next 0/2] refcount: add tracking infrastructure

From: Eric Dumazet <[email protected]>

RFC only, I yet have to convert some dev_put()/dev_hold() to show how this works.

I am posting this because Jakub is working on same issue.

Eric Dumazet (2):
lib: add reference counting infrastructure
net: add dev_hold_track() and dev_put_track() helpers

 include/linux/netdevice.h   |  23 +++++++
 include/linux/ref_tracker.h |  78 ++++++++++++++++++++++++
 lib/Kconfig                 |   4 ++
 lib/Makefile                |   2 +
 lib/ref_tracker.c           | 116 ++++++++++++++++++++++++++++++++++++
 net/Kconfig                 |   8 +++
 net/core/dev.c              |   3 +
 7 files changed, 234 insertions(+)
 create mode 100644 include/linux/ref_tracker.h
 create mode 100644 lib/ref_tracker.c
Signature · 1 line
2.34.0.rc1.387.gb447b232ab-goog