From owner-cvs-all Tue Jan 23 5: 7:43 2001 Delivered-To: cvs-all@freebsd.org Received: from solaris.matti.ee (solaris.matti.ee [194.126.98.135]) by hub.freebsd.org (Postfix) with ESMTP id E363337B402; Tue, 23 Jan 2001 05:07:21 -0800 (PST) Received: from myhakas.matti.ee (myhakas.matti.ee [194.126.114.87]) by solaris.matti.ee (Postfix) with ESMTP id C3EE72CE7E; Tue, 23 Jan 2001 15:07:17 +0200 (EET) Received: (from vallo@localhost) by myhakas.matti.ee (8.11.1/8.11.1) id f0ND6dH50226; Tue, 23 Jan 2001 15:06:39 +0200 (EET) (envelope-from vallo) Date: Tue, 23 Jan 2001 15:06:39 +0200 From: Vallo Kallaste To: Bosko Milekic Cc: John Baldwin , Alfred Perlstein , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern uipc_mbuf.c Message-ID: <20010123150639.A50085@myhakas.matti.ee> Reply-To: vallo@matti.ee References: <005001c0801d$9e2ead80$1f90c918@jehovah> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.11i In-Reply-To: <005001c0801d$9e2ead80$1f90c918@jehovah>; from bmilekic@technokratis.com on Tue, Jan 16, 2001 at 07:37:05PM -0500 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Jan 16, 2001 at 07:37:05PM -0500, Bosko Milekic wrote: > The discussed situation was probably a lock order reversal w.r.t. Giant and > some driver lock (in an MP safe driver). In one case, as you mentionned, > Giant can be acquired before the driver lock (the ifconfig case you spoke of, > when the call is originating from a system call), but in the interrupt case, > the driver lock would be acquired first, followed by Giant in the allocation > routines. Sorry for disturbing this highly technical discussion, but all that reminds me of some occasional kernel messages I've seen: Jan 19 07:53:05 myhakas /boot/smpkernel/kernel: lock order reversal Jan 19 07:53:05 myhakas /boot/smpkernel/kernel: 1st fxp0 last acquired @ ../../pci/if_fxp.c:842 Jan 19 07:53:05 myhakas /boot/smpkernel/kernel: 2nd 0xc0f50520 fxp1 @ ../../pci/if_fxp.c:993 Jan 19 07:53:05 myhakas /boot/smpkernel/kernel: 3rd 0xc0f50920 fxp0 @ ../../pci/if_fxp.c:842 I have two fxp and one ed (ne-2000 PCI clone) interfaces and bridge defined. Those messages appear almost always in sync with traffic over bridge interface(s). Is it something to care about? -- Vallo Kallaste vallo@matti.ee To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message