Date: Fri, 27 Jul 2007 11:59:57 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ath/ath_rate/amrr amrr.c src/sys/dev/ath/ath_rate/onoe onoe.c src/sys/dev/ce if_ce.c src/sys/dev/cp if_cp.c src/sys/dev/ctau if_ct.c src/sys/dev/cx if_cx.c src/sys/kern subr_bus.c uipc_domain.c src/sys/net if.c if_ethersubr.c netisr.c ... Message-ID: <200707271159.l6RBxvZm091177@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2007-07-27 11:59:57 UTC FreeBSD src repository Modified files: sys/dev/ath/ath_rate/amrr amrr.c sys/dev/ath/ath_rate/onoe onoe.c sys/dev/ce if_ce.c sys/dev/cp if_cp.c sys/dev/ctau if_ct.c sys/dev/cx if_cx.c sys/kern subr_bus.c uipc_domain.c sys/net if.c if_ethersubr.c netisr.c sys/nfsserver nfs_srvsubs.c nfs_syscalls.c sys/sys kernel.h mutex.h Log: 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) Revision Changes Path 1.14 +1 -1 src/sys/dev/ath/ath_rate/amrr/amrr.c 1.15 +1 -1 src/sys/dev/ath/ath_rate/onoe/onoe.c 1.9 +0 -7 src/sys/dev/ce/if_ce.c 1.34 +0 -5 src/sys/dev/cp/if_cp.c 1.34 +0 -5 src/sys/dev/ctau/if_ct.c 1.57 +0 -5 src/sys/dev/cx/if_cx.c 1.201 +0 -3 src/sys/kern/subr_bus.c 1.50 +2 -7 src/sys/kern/uipc_domain.c 1.273 +1 -8 src/sys/net/if.c 1.235 +1 -1 src/sys/net/if_ethersubr.c 1.19 +0 -92 src/sys/net/netisr.c 1.148 +1 -4 src/sys/nfsserver/nfs_srvsubs.c 1.115 +2 -8 src/sys/nfsserver/nfs_syscalls.c 1.136 +0 -5 src/sys/sys/kernel.h 1.99 +5 -22 src/sys/sys/mutex.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707271159.l6RBxvZm091177>