From owner-freebsd-hackers Sat Jun 30 20:28:43 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from sneakerz.org (sneakerz.org [216.33.66.254]) by hub.freebsd.org (Postfix) with ESMTP id B8FE637B401; Sat, 30 Jun 2001 20:28:39 -0700 (PDT) (envelope-from bright@sneakerz.org) Received: by sneakerz.org (Postfix, from userid 1092) id 30E755D020; Sat, 30 Jun 2001 22:28:29 -0500 (CDT) Date: Sat, 30 Jun 2001 22:28:29 -0500 From: Alfred Perlstein To: "Michael C . Wu" Cc: "E.B. Dreger" , freebsd-smp@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: Quick question: AIO / SMP / process-based threading Message-ID: <20010630222829.E84523@sneakerz.org> References: <20010630005749.A72545@peorth.iteration.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20010630005749.A72545@peorth.iteration.net>; from keichii@iteration.net on Sat, Jun 30, 2001 at 12:57:49AM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Michael C . Wu [010630 14:05] wrote: > On Sat, Jun 30, 2001 at 05:47:49AM +0000, E.B. Dreger scribbled: > | 1. Is AIO SMP-safe? > > AIO is not safe, SMP or not. > > | 2. If not, how could one force coherency? (Read and rewrite locked > | a word from each cache line?) Is it worth the effort, or should > | one not use AIO across process boundaries? > > Don't use it. Can you point to some specific PRs about this or crashdumps before (or at least while) taking pot shots at the AIO implementation? thanks, -- -Alfred Perlstein [alfred@freebsd.org] Ok, who wrote this damn function called '??'? And why do my programs keep crashing in it? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message