From owner-freebsd-current@FreeBSD.ORG Fri Dec 3 22:16:50 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 0813916A4CF for ; Fri, 3 Dec 2004 22:16:50 +0000 (GMT) Received: from relay02.pair.com (relay02.pair.com [209.68.5.16]) by mx1.FreeBSD.org (Postfix) with SMTP id 6F33743D4C for ; Fri, 3 Dec 2004 22:16:49 +0000 (GMT) (envelope-from pho@holm.cc) Received: (qmail 66115 invoked from network); 3 Dec 2004 22:16:48 -0000 Received: from unknown (HELO peter.osted.lan) (unknown) by unknown with SMTP; 3 Dec 2004 22:16:48 -0000 X-pair-Authenticated: 80.164.63.199 Received: from peter.osted.lan (localhost.osted.lan [127.0.0.1]) by peter.osted.lan (8.13.1/8.13.1) with ESMTP id iB3MGlh6097436; Fri, 3 Dec 2004 23:16:47 +0100 (CET) (envelope-from pho@peter.osted.lan) Received: (from pho@localhost) by peter.osted.lan (8.13.1/8.13.1/Submit) id iB3MGl7G097435; Fri, 3 Dec 2004 23:16:47 +0100 (CET) (envelope-from pho) Date: Fri, 3 Dec 2004 23:16:46 +0100 From: Peter Holm To: Jeff Roberson Message-ID: <20041203221646.GA97365@peter.osted.lan> References: <20041203052824.K18185@mail.chesapeake.net> <20041203175218.GA96071@peter.osted.lan> <20041203161658.Y18185@mail.chesapeake.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041203161658.Y18185@mail.chesapeake.net> User-Agent: Mutt/1.4.2.1i cc: current@freebsd.org Subject: Re: SMP FFS Part 3 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: Fri, 03 Dec 2004 22:16:50 -0000 On Fri, Dec 03, 2004 at 04:17:48PM -0500, Jeff Roberson wrote: > On Fri, 3 Dec 2004, Peter Holm wrote: > > > On Fri, Dec 03, 2004 at 05:33:01AM -0500, Jeff Roberson wrote: > > > This patch removes Giant from every file related syscall. It fixes all > > > known bugs except for one which Peter Holm has seen after very long > > > periods of extreme load, and a nfs netbooting problem that I haven't yet > > > looked in to. I can buildworld -j3 for hours on my dual opteron without > > > issues. I hope to fix the remaining problems in a day or two. > > > > > > http://www.chesapeake.net/~jroberson/smpffs.diff > > > > > > > Fatal trap 12: page fault while in kernel mode in kern/kern_proc.c:694 > > http://www.holm.cc/stress/log/jeff07.html (a dup of jeff02.html?) > > Can you get me a stack trace from the blocked thread? > OK. (kgdb) p td $9 = (struct thread *) 0xc2550180 (kgdb) p/d (*td.td_proc).p_pid $10 = 11895 (kgdb) btp 11895 frame 0 at 0xcf87877c: ebp cf8787cc, eip 0xc0615ad5 : add $0xc,%esp frame 1 at 0xcf8787cc: ebp cf8787f4, eip 0xc062dcb5 : pop %ebx frame 2 at 0xcf8787f4: ebp cf878820, eip 0xc0607d5e <_mtx_lock_sleep+166>: add $0x18,%esp frame 3 at 0xcf878820: ebp cf87884c, eip 0xc0607e7c <_mtx_lock_flags+136>: or $0x8,%esi frame 4 at 0xcf87884c: ebp cf8788d8, eip 0xc072c488 : mov 0xffffffe8(%ebp),%esi frame 5 at 0xcf8788d8: ebp cf878a40, eip 0xc075375a : add $0x10,%esp frame 6 at 0xcf878a40: ebp cf878a54, eip 0xc0753d9d : test %eax,%eax frame 7 at 0xcf878a54: ebp cf878b30, eip 0xc066fc38 : pop %ecx frame 8 at 0xcf878b30: ebp cf878b4c, eip 0xc066fe9e : leave frame 9 at 0xcf878b4c: ebp cf878cc8, eip 0xc0665f24 : add $0x10,%esp frame 10 at 0xcf878cc8: ebp cf878cec, eip 0xc0666852 : mov %eax,%esi frame 11 at 0xcf878cec: ebp cf878d40, eip 0xc07b48d0 : mov %eax,%ebx > > > > > Cheers, > > > Jeff > > > _______________________________________________ > > > freebsd-current@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > > -- > > Peter Holm > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > -- Peter Holm