From owner-freebsd-net@FreeBSD.ORG Thu Aug 14 13:32:43 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FB3537B401 for ; Thu, 14 Aug 2003 13:32:43 -0700 (PDT) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 6A5A643FE1 for ; Thu, 14 Aug 2003 13:32:42 -0700 (PDT) (envelope-from silby@silby.com) Received: (qmail 69943 invoked from network); 14 Aug 2003 20:32:41 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 14 Aug 2003 20:32:41 -0000 X-pair-Authenticated: 209.68.2.70 Date: Thu, 14 Aug 2003 15:31:29 -0500 (CDT) From: Mike Silbersack To: John Baldwin In-Reply-To: Message-ID: <20030814153022.U39444@odysseus.silby.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: "freebsd-net@freebsd.org" Subject: RE: TCP socket shutdown race condition X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2003 20:32:43 -0000 On Thu, 14 Aug 2003, John Baldwin wrote: > In that case, CPU 2 uses an IPI to "push" the interrupt over to CPU 1 > since CPU 1 is in the kernel. CPU 2 will not handle an interrupt unless > it can get the giant lock. > > -- > > John Baldwin <>< http://www.FreeBSD.org/~jhb/ So on 4.x, any SMP race is probably also a UP race, but we just don't see it because UP can't preempt. Well, I guess the spl() fix is probably going to be the quickest here then, please send it to me once you've pounded on it, Ed. Mike "Silby" Silbersack