From owner-svn-src-head@FreeBSD.ORG Sat May 30 23:52:24 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55184106566B; Sat, 30 May 2009 23:52:24 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 28A0E8FC15; Sat, 30 May 2009 23:52:24 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4UNqOXc023390; Sat, 30 May 2009 23:52:24 GMT (envelope-from attilio@svn.freebsd.org) Received: (from attilio@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4UNqNx2023387; Sat, 30 May 2009 23:52:23 GMT (envelope-from attilio@svn.freebsd.org) Message-Id: <200905302352.n4UNqNx2023387@svn.freebsd.org> From: Attilio Rao Date: Sat, 30 May 2009 23:52:23 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r193138 - in head: . sys/kern sys/sys X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 May 2009 23:52:24 -0000 Author: attilio Date: Sat May 30 23:52:23 2009 New Revision: 193138 URL: http://svn.freebsd.org/changeset/base/193138 Log: Remove the now invalid (and possibly unused) debug.mpsafevfs sysctl/tunable. Reviewed by: emaste Sponsored by: Sandvine Incorporated Modified: head/UPDATING head/sys/kern/vfs_subr.c head/sys/sys/mount.h Modified: head/UPDATING ============================================================================== --- head/UPDATING Sat May 30 23:51:02 2009 (r193137) +++ head/UPDATING Sat May 30 23:52:23 2009 (r193138) @@ -23,6 +23,10 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 8. ln -s aj /etc/malloc.conf.) 20090530: + Remove the tunable/sysctl debug.mpsafevfs as its initial purpose + is no more valid. + +20090530: Add VOP_ACCESSX(9). File system modules need to be rebuilt. Bump __FreeBSD_version to 800094. Modified: head/sys/kern/vfs_subr.c ============================================================================== --- head/sys/kern/vfs_subr.c Sat May 30 23:51:02 2009 (r193137) +++ head/sys/kern/vfs_subr.c Sat May 30 23:52:23 2009 (r193138) @@ -115,15 +115,6 @@ static int vfs_knllocked(void *arg); static void destroy_vpollinfo(struct vpollinfo *vi); /* - * Enable Giant pushdown based on whether or not the vm is mpsafe in this - * build. Without mpsafevm the buffer cache can not run Giant free. - */ -int mpsafe_vfs = 1; -TUNABLE_INT("debug.mpsafevfs", &mpsafe_vfs); -SYSCTL_INT(_debug, OID_AUTO, mpsafevfs, CTLFLAG_RD, &mpsafe_vfs, 0, - "MPSAFE VFS"); - -/* * Number of vnodes in existence. Increased whenever getnewvnode() * allocates a new vnode, decreased on vdestroy() called on VI_DOOMed * vnode. Modified: head/sys/sys/mount.h ============================================================================== --- head/sys/sys/mount.h Sat May 30 23:51:02 2009 (r193137) +++ head/sys/sys/mount.h Sat May 30 23:52:23 2009 (r193138) @@ -619,10 +619,8 @@ vfs_statfs_t __vfs_statfs; ({if (*(MP)->mnt_op->vfs_susp_clean != NULL) \ (*(MP)->mnt_op->vfs_susp_clean)(MP); }) -extern int mpsafe_vfs; - #define VFS_NEEDSGIANT_(MP) \ - (!mpsafe_vfs || ((MP) != NULL && ((MP)->mnt_kern_flag & MNTK_MPSAFE) == 0)) + ((MP) != NULL && ((MP)->mnt_kern_flag & MNTK_MPSAFE) == 0) #define VFS_NEEDSGIANT(MP) __extension__ \ ({ \