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-02-06 19:25:06 -06:00
2008-03-05 18:37:16 -08:00
2007-10-10 16:53:11 -07:00
2007-10-10 16:53:56 -07:00
2008-03-27 17:53:31 -07:00
2008-01-28 15:01:08 -08:00
2008-01-28 14:53:47 -08:00
2008-02-29 11:46:17 -08:00
2008-01-28 15:11:09 -08:00
2007-10-07 23:44:17 -07:00