From owner-freebsd-current@FreeBSD.ORG Sun Jul 11 22:28:46 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 93E6616A4CE for ; Sun, 11 Jul 2004 22:28:46 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AF5143D2F for ; Sun, 11 Jul 2004 22:28:46 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 847E972DF2; Sun, 11 Jul 2004 15:28:46 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 82FFE72DB5; Sun, 11 Jul 2004 15:28:46 -0700 (PDT) Date: Sun, 11 Jul 2004 15:28:46 -0700 (PDT) From: Doug White To: "Bjoern A. Zeeb" In-Reply-To: Message-ID: <20040711152739.W76940@carver.gumbysoft.com> References: 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:28:46 -0000 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 :) -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org