freebsd-dev/sys/nfsserver
Robert Watson 33d2bb9ca3 First in a series of changes to remove the now-unused Giant compatibility
framework for non-MPSAFE network protocols:

- Remove debug_mpsafenet variable, sysctl, and tunable.
- Remove NET_NEEDS_GIANT() and associate SYSINITSs used by it to force
  debug.mpsafenet=0 if non-MPSAFE protocols are compiled into the kernel.
- Remove logic to automatically flag interrupt handlers as non-MPSAFE if
  debug.mpsafenet is set for an INTR_TYPE_NET handler.
- Remove logic to automatically flag netisr handlers as non-MPSAFE if
  debug.mpsafenet is set.
- Remove references in a few subsystems, including NFS and Cronyx drivers,
  which keyed off debug_mpsafenet to determine various aspects of their own
  locking behavior.
- Convert NET_LOCK_GIANT(), NET_UNLOCK_GIANT(), and NET_ASSERT_GIANT into
  no-op's, as their entire behavior was determined by the value in
  debug_mpsafenet.
- Alias NET_CALLOUT_MPSAFE to CALLOUT_MPSAFE.

Many remaining references to NET_.*_GIANT() and NET_CALLOUT_MPSAFE are still
present in subsystems, and will be removed in followup commits.

Reviewed by:	bz, jhb
Approved by:	re (kensmith)
2007-07-27 11:59:57 +00:00
..
nfs_serv.c Include priv.h to pick up suser(9) definitions, missed in an earlier 2007-06-13 22:42:43 +00:00
nfs_srvcache.c - Turn all explicit giant acquires into conditional VFS_LOCK_GIANTs. 2007-03-17 18:18:08 +00:00
nfs_srvsock.c In nfsrv_rcv(), don't reacquire the nfs server lock until after 2007-04-15 15:50:50 +00:00
nfs_srvsubs.c First in a series of changes to remove the now-unused Giant compatibility 2007-07-27 11:59:57 +00:00
nfs_syscalls.c First in a series of changes to remove the now-unused Giant compatibility 2007-07-27 11:59:57 +00:00
nfs.h - Turn all explicit giant acquires into conditional VFS_LOCK_GIANTs. 2007-03-17 18:18:08 +00:00
nfsm_subs.h - Turn all explicit giant acquires into conditional VFS_LOCK_GIANTs. 2007-03-17 18:18:08 +00:00
nfsrvcache.h Size the NFS server dupreq cache on the basis of nmbclusters. On servers 2006-06-23 00:42:26 +00:00
nfsrvstats.h /* -> /*- for license, minor formatting changes 2005-01-07 01:45:51 +00:00