Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Aug 2003 15:31:29 -0500 (CDT)
From:      Mike Silbersack <silby@silby.com>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   RE: TCP socket shutdown race condition
Message-ID:  <20030814153022.U39444@odysseus.silby.com>
In-Reply-To: <XFMail.20030814104200.jhb@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail


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 <jhb@FreeBSD.org>  <><  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


home | help

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