From owner-freebsd-current@FreeBSD.ORG Mon Nov 22 22:36:35 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D496F16A4CE for ; Mon, 22 Nov 2004 22:36:34 +0000 (GMT) Received: from corwin.easynet.fr (smarthost160.mail.easynet.fr [212.180.1.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E73843D2D for ; Mon, 22 Nov 2004 22:36:34 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from [212.180.127.72] (helo=tatooine.tataz.chchile.org) by corwin.easynet.fr with esmtp (Exim 4.34) id 1CWMnM-0007MX-VW; Mon, 22 Nov 2004 23:36:29 +0100 Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id DB6A4412D; Mon, 22 Nov 2004 23:36:22 +0100 (CET) Date: Mon, 22 Nov 2004 23:36:21 +0100 From: Jeremie Le Hen To: Jeff Roberson Message-ID: <20041122223621.GG960@obiwan.tataz.chchile.org> References: <20041120000743.G18094@mail.chesapeake.net> <41A1C3BD.4010903@fer.hr> <20041122064318.Y18094@mail.chesapeake.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041122064318.Y18094@mail.chesapeake.net> User-Agent: Mutt/1.5.6i X-Broken-Reverse-DNS: no host name found for IP address 212.180.127.72 cc: current@freebsd.org cc: Ivan Voras Subject: Re: Giantless VFS. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2004 22:36:35 -0000 Hi Jeff, > I haven't received any feedback from the list though. I hope people are > testing it. Perhaps the silence indicates universal success? :-) I have just tested your patch. It compiles like a charm. FYI, my kernel have MUTEX_DEBUG, INVARIANTS and WITNESS enabled, but no PREEMPTION. While using my system with debug.mpsavevfs=1, I encountered two different panics. (Sorry, I do not have a serial cable plugged into my laptop and manual writing of hexadecimal addresses is very annoying.) The first one seems to be related to union mounts as when I use Tobias Roth's profile.sh (which union mounts a vnode md(4) device over /etc) `ls /etc' panics the system but when I don't have the mount, everything seems to work : panic: mutex Giant not owned at ../../../kern/vfs_vnops.c:962 db> trace kdb_enter() panic() _mtx_assert() vn_write_suspend_wait() ufs_inactive() ufs_vnoperate() vput() getdirentries() syscall() The second one appeared just when I ask bash(1) to complete a command name : it has to scan all directories from $HOME and stat(2) every files in them. Here is the panic() : Memory modified after free 0xc1ddc300 (252) val=c1df59c4 @ 0xc1ddc374 panic: Most recently used by UFS mount kdb_enter() panic() mtrash_ctor() uma_zalloc_arg() malloc() fdinit() fdcopy() fork1() fork() syscall() I hope this will help. Best regads, -- Jeremie Le Hen jeremie@le-hen.org