From owner-freebsd-current@FreeBSD.ORG Fri May 12 21:12:05 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 67F8B16B0DB; Fri, 12 May 2006 21:12:05 +0000 (UTC) (envelope-from jd@ugcs.caltech.edu) Received: from groat.ugcs.caltech.edu (groat.ugcs.caltech.edu [131.215.176.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0EEA43DBC; Fri, 12 May 2006 21:11:49 +0000 (GMT) (envelope-from jd@ugcs.caltech.edu) Received: by groat.ugcs.caltech.edu (Postfix, from userid 3640) id 6DACF5880D; Fri, 12 May 2006 14:11:48 -0700 (PDT) Date: Fri, 12 May 2006 14:11:48 -0700 From: Paul Allen To: Andrew Gallatin Message-ID: <20060512211148.GC4365@groat.ugcs.caltech.edu> References: <20060506150622.C17611@fledge.watson.org> <20060509181302.GD3636@eucla.lemis.com> <20060509182330.GB92714@xor.obsecurity.org> <200605100726.28243.davidxu@freebsd.org> <44613469.2050000@freebsd.org> <4461522D.9060405@freebsd.org> <17508.62183.562795.176709@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17508.62183.562795.176709@grasshopper.cs.duke.edu> Sender: jd@ugcs.caltech.edu Cc: Daniel Eischen , David Xu , current@freebsd.org Subject: Re: Fine-grained locking for POSIX local sockets (UNIX domain sockets) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 21:12:17 -0000 >From Andrew Gallatin , Fri, May 12, 2006 at 04:41:11PM -0400: > In addition to this linux vsyscall, there is the MacOSX/Darwin > commpage. The map machine-specific implementations of atomic > operations, bcopy, bzero, spinlocks, pthread_getspecific, etc into a > common page mapped into userspace applications. The also do a (mostly) > syscall-free gettimeoday this way. > > See http://fxr.watson.org/fxr/source/osfmk/ppc/commpage/?v=xnu-792 > > Obviously, we could not take the code due to APSL infection (unless > Apple were to donate it), but it is something else to look at. I've often wondered why they release their code under such a verbose license. What do they substantively gain relative to the BSD license? Given Jordan Hubbard's position there why does the interaction between FreeBSD and Apple seem to be such an arms length affair? Paul