RFC refcount: add tracking infrastructure
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | lib: add reference counting infrastructureinclude/ lib/ lib/ +1 more | +200 | 10 replies | |
| 2/2 | net: add dev_hold_track() and dev_put_track() helpersinclude/ net/ net/ | +34 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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