From owner-svn-src-all@FreeBSD.ORG Tue May 25 03:59:48 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F384D106566B; Tue, 25 May 2010 03:59:47 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id 5C8248FC14; Tue, 25 May 2010 03:59:47 +0000 (UTC) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.14.4/8.14.4) with ESMTP id o4P3eIxb075607; Mon, 24 May 2010 20:40:18 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.4/8.14.4/Submit) id o4P3eHPW075606; Mon, 24 May 2010 20:40:17 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 24 May 2010 20:40:16 -0700 From: Greg Lewis To: Bruce Evans Message-ID: <20100525034016.GA75384@misty.eyesbeyond.com> References: <11069.1274618175@critter.freebsd.dk> <20100523230410.K17698@delplex.bde.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100523230410.K17698@delplex.bde.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: svn-src-head@freebsd.org, Poul-Henning Kamp , src-committers@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r208332 - in head/sys: amd64/include i386/include X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2010 03:59:48 -0000 On Sun, May 23, 2010 at 11:15:09PM +1000, Bruce Evans wrote: > On Sun, 23 May 2010, Poul-Henning Kamp wrote: > > In message <20100523183502.C13588@delplex.bde.org>, Bruce Evans writes: > >> On Thu, 20 May 2010, Poul-Henning Kamp wrote: > > > >> should be kernel-only. > > > > No, it absolutely should not, if anything, it should be pushed as > > international standards (with , and ). > > > > Atomic operations and write barriers are necessary when multiple > > threads or processes cooperate using shared memory. and if anything > > the bug is that POSIX has not updated pthreads to have these and > > other necessary primitives. (pthread_mutex_assert_held() for instance). > > Pehraps, but was only designed, implemented and > documented for use in the kernel. And of course any standardized version > won't look like the FreeBSD kernel one. The kernel one is too bloated > for me, but a general-purpose one should be even more bloated so as > to support all types and more than atomic ops. The FreeBSD port of the "Zero" Java VM uses . Well, except on sparc64 where pulls in too much namespace pollution and it instead includes chunks of the header verbatim instead :(. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org