Pavel Emelyanov 13ff3d6fa4 [SOCK]: Enumerate struct proto-s to facilitate percpu inuse accounting (v2).
The inuse counters are going to become a per-cpu array.  Introduce an
index for this array on the struct proto.

To handle the case of proto register-unregister-register loop the
bitmap is used. All its bits manipulations are protected with
proto_list_lock and a sanity check for the bitmap being exhausted is
also added.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-03-28 16:38:17 -07:00
..
2008-03-06 12:18:25 +00:00
2008-02-13 14:44:03 +01:00
2008-03-06 08:13:47 -08:00
2008-03-07 08:42:28 -06:00
2008-03-07 16:56:54 -06:00
2008-03-06 17:23:15 +09:00
2008-03-11 17:11:55 +01:00
2008-02-06 10:41:16 -08:00