freebsd-nq/sys/nfsclient
Robert Watson 2d9cfabad4 Add a new global rwlock, in_ifaddr_lock, which will synchronize use of the
in_ifaddrhead and INADDR_HASH address lists.

Previously, these lists were used unsynchronized as they were effectively
never changed in steady state, but we've seen increasing reports of
writer-writer races on very busy VPN servers as core count has gone up
(and similar configurations where address lists change frequently and
concurrently).

For the time being, use rwlocks rather than rmlocks in order to take
advantage of their better lock debugging support.  As a result, we don't
enable ip_input()'s read-locking of INADDR_HASH until an rmlock conversion
is complete and a performance analysis has been done.  This means that one
class of reader-writer races still exists.

MFC after:      6 weeks
Reviewed by:    bz
2009-06-25 11:52:33 +00:00
..
bootp_subr.c Rename the host-related prison fields to be the same as the host.* 2009-06-13 15:39:12 +00:00
krpc_subr.c
krpc.h
nfs_bio.c Fix some of the style errors in *getpages(). 2009-06-18 05:56:24 +00:00
nfs_diskless.c After cleaning up rt_tables from vnet.h and cleaning up opt_route.h 2009-06-23 17:03:45 +00:00
nfs_kdtrace.c
nfs_kdtrace.h
nfs_krpc.c Make sure we feed 32bit align memory to nfsm_dissect otherwise we will fault 2009-05-24 13:22:00 +00:00
nfs_lock.c
nfs_lock.h
nfs_nfsiod.c
nfs_node.c
nfs_socket.c Rework socket upcalls to close some races with setup/teardown of upcalls. 2009-06-01 21:17:03 +00:00
nfs_subs.c
nfs_vfsops.c Rename the host-related prison fields to be the same as the host.* 2009-06-13 15:39:12 +00:00
nfs_vnops.c Add a new global rwlock, in_ifaddr_lock, which will synchronize use of the 2009-06-25 11:52:33 +00:00
nfs.h
nfsargs.h
nfsdiskless.h
nfsm_subs.h
nfsmount.h
nfsnode.h
nfsstats.h
nlminfo.h