Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2001 15:06:39 +0200
From:      Vallo Kallaste <vallo@matti.ee>
To:        Bosko Milekic <bmilekic@technokratis.com>
Cc:        John Baldwin <jhb@FreeBSD.ORG>, Alfred Perlstein <bright@wintelcom.net>, 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>
In-Reply-To: <005001c0801d$9e2ead80$1f90c918@jehovah>; from bmilekic@technokratis.com on Tue, Jan 16, 2001 at 07:37:05PM -0500
References:  <XFMail.010115233233.jhb@FreeBSD.org> <005001c0801d$9e2ead80$1f90c918@jehovah>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 16, 2001 at 07:37:05PM -0500, Bosko Milekic <bmilekic@technokratis.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010123150639.A50085>