]> bbs.cooldavid.org Git - net-next-2.6.git/commit
[LIB]: Introduce struct pcounter
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 21 Nov 2007 14:02:58 +0000 (22:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:54:39 +0000 (14:54 -0800)
commitde4d1db369785c29d68915edfee0cb70e8199f4c
tree78979fc131145d4b2df3cd4721a811784126f05c
parent0c884439dbd7c895cce61c4974c8868b0f6cd4a1
[LIB]: Introduce struct pcounter

This just generalises what was introduced by Eric Dumazet for the struct proto
inuse field in 286ab3d46058840d68e5d7d52e316c1f7e98c59f:

    [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: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/pcounter.h [new file with mode: 0644]
lib/Makefile
lib/pcounter.c [new file with mode: 0644]