From owner-freebsd-smp Sat Apr 10 16:19:45 1999 Delivered-To: freebsd-smp@freebsd.org Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (Postfix) with ESMTP id DA8F915162 for ; Sat, 10 Apr 1999 16:19:42 -0700 (PDT) (envelope-from tlambert@usr08.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id QAA01164; Sat, 10 Apr 1999 16:17:25 -0700 (MST) Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp03.primenet.com, id smtpd001150; Sat Apr 10 16:17:17 1999 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id QAA25435; Sat, 10 Apr 1999 16:17:16 -0700 (MST) From: Terry Lambert Message-Id: <199904102317.QAA25435@usr08.primenet.com> Subject: Re: concurrent select()s on listen socket broken under SMP To: peter@spinner.netplex.com.au (Peter Wemm) Date: Sat, 10 Apr 1999 23:17:16 +0000 (GMT) Cc: tlambert@primenet.com, barney@databus.com, smp@FreeBSD.ORG, dot@dotat.at In-Reply-To: <19990410123901.44DD21F4D@spinner.netplex.com.au> from "Peter Wemm" at Apr 10, 99 08:38:58 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'll probably respond in detail to other issues later; right now, I just want to make a quick point... > A list/queue/whatever would be one way, but this requires a driver API > redesign in a big way. > > At the moment, the drivers manage the select event wakeups. A process > calls select/poll(), and this eventually translates into a selscan() call > which ends up calling the driver d_select() (now d_poll) entry point. If > the event is not presently active, selrecord() is used to log the event in > the *driver*'s private selinfo struct that it provides for that event. I think that we should look at UDI as an opportunity for redesign in this area: http://www.sco.com/udi/ Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message