-
- Downloads
lib: introduce initial implementation of object aggregation manager
This lib tracks objects which could be of two types: 1) root object 2) nested object - with a "delta" which differentiates it from the associated root object The objects are tracked by a hashtable and reference-counted. User is responsible of implementing callbacks to create/destroy root entity related to each root object and callback to create/destroy nested object delta. Signed-off-by:Jiri Pirko <jiri@mellanox.com> Signed-off-by:
Ido Schimmel <idosch@mellanox.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- MAINTAINERS 8 additions, 0 deletionsMAINTAINERS
- include/linux/objagg.h 46 additions, 0 deletionsinclude/linux/objagg.h
- include/trace/events/objagg.h 228 additions, 0 deletionsinclude/trace/events/objagg.h
- lib/Kconfig 3 additions, 0 deletionslib/Kconfig
- lib/Kconfig.debug 10 additions, 0 deletionslib/Kconfig.debug
- lib/Makefile 2 additions, 0 deletionslib/Makefile
- lib/objagg.c 501 additions, 0 deletionslib/objagg.c
- lib/test_objagg.c 835 additions, 0 deletionslib/test_objagg.c
Loading
Please register or sign in to comment