From owner-freebsd-arch@FreeBSD.ORG Sun Nov 7 20:07:47 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8F4A816A4CE for ; Sun, 7 Nov 2004 20:07:47 +0000 (GMT) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CEA543D4C for ; Sun, 7 Nov 2004 20:07:47 +0000 (GMT) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) iA7K7kvA044166; Sun, 7 Nov 2004 12:07:46 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.9p2/8.12.9/Submit) id iA7K7kgR044165; Sun, 7 Nov 2004 12:07:46 -0800 (PST) (envelope-from dillon) Date: Sun, 7 Nov 2004 12:07:46 -0800 (PST) From: Matthew Dillon Message-Id: <200411072007.iA7K7kgR044165@apollo.backplane.com> To: "Poul-Henning Kamp" References: <18262.1099813719@critter.freebsd.dk> cc: arch@freebsd.org cc: John-Mark Gurney Subject: Re: Multi-threading access to device drivers. X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 20:07:47 -0000 :> If it's a regular file [...] : :BZZZT! Wrong, but thanks for playing. (We are talking devices here) : :-- :Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 Well, most devices don't give a damn about the file offset supplied in the UIO from the file descriptor, so if it isn't a regular file why would you care? You should just parallel entry into the device and let the device take care of any required serialization. -Matt Matthew Dillon