From owner-cvs-all@FreeBSD.ORG Fri Jul 27 11:59:58 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 292CA16A418; Fri, 27 Jul 2007 11:59:58 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1896C13C4D0; Fri, 27 Jul 2007 11:59:58 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l6RBxv4s091178; Fri, 27 Jul 2007 11:59:57 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l6RBxvZm091177; Fri, 27 Jul 2007 11:59:57 GMT (envelope-from rwatson) Message-Id: <200707271159.l6RBxvZm091177@repoman.freebsd.org> From: Robert Watson Date: Fri, 27 Jul 2007 11:59:57 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: 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 ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2007 11:59:58 -0000 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