]> git.baikalelectronics.ru Git - kernel.git/commit
lib: objagg: add root count to stats
authorJiri Pirko <jiri@mellanox.com>
Thu, 7 Feb 2019 11:22:47 +0000 (11:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Feb 2019 23:02:49 +0000 (15:02 -0800)
commit216f75786d2ea9691c8d32a0e59694d71d15d46f
tree7887c648d28055f222883582e78669bbe2ff78cd
parent7375258e95349574b2413950558677c94103fe2d
lib: objagg: add root count to stats

Count number of roots and add it to stats. It is handy for the library
user to have this stats available as it can act upon it without
counting roots itself.

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>
include/linux/objagg.h
lib/objagg.c