diff options
| author | 2008-03-28 16:38:17 -0700 | |
|---|---|---|
| committer | 2008-03-28 16:38:17 -0700 | |
| commit | 13ff3d6fa4e6d8b6ee7c64245a0078e6a0e6f977 (patch) | |
| tree | c52580ac89aff1b4eabbd94e6cb73af15e91051f /include/linux | |
| parent | [NET]: Rename inet_frag.h identifiers COMPLETE, FIRST_IN, LAST_IN to INET_FRAG_* (diff) | |
[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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
