[LIB]: Introduce struct pcounter
This just generalises what was introduced by Eric Dumazet for the struct proto inuse field in 286ab3d4: [NET]: Define infrastructure to keep 'inuse' changes in an efficent SMP/NUMA way. Please look at the comment in there to see the rationale. Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
include/linux/pcounter.h
0 → 100644
lib/pcounter.c
0 → 100644
想要评论请 注册 或 登录