From owner-freebsd-current@FreeBSD.ORG Sun Jul 11 22:38:12 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 260F416A4CE for ; Sun, 11 Jul 2004 22:38:12 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1691B43D2F for ; Sun, 11 Jul 2004 22:38:12 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 0C06872DF2; Sun, 11 Jul 2004 15:38:12 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 067B572DB5; Sun, 11 Jul 2004 15:38:12 -0700 (PDT) Date: Sun, 11 Jul 2004 15:38:11 -0700 (PDT) From: Doug White To: "Bjoern A. Zeeb" In-Reply-To: <20040711152739.W76940@carver.gumbysoft.com> Message-ID: <20040711153746.C76940@carver.gumbysoft.com> References: <20040711152739.W76940@carver.gumbysoft.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: FreeBSD current mailing list Subject: Re: is_sk locking in sk_attach 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: Sun, 11 Jul 2004 22:38:12 -0000 On Sun, 11 Jul 2004, Doug White wrote: > On Sat, 10 Jul 2004, Bjoern A. Zeeb wrote: > > > there had been some discussion lately about if_sk and attach locking. > > compiled if_sk as module on amd64 and kldloading started a race with > > follwoing output: > > If you have unpatched sk sources, the locking is entirely wrong. You > _will_ get witness warnings. I have a basic patch that gets rid of most > of them, and I think bms is working on a more complete lockdown. I posted > my patch to -current, but I can't guarantee its entirely correct :) Oops, bms isn't working on locking for sk. Please disregard that statement. :) -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org