From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7153 invoked by alias); 29 Mar 2003 03:03:04 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 7137 invoked from network); 29 Mar 2003 03:03:04 -0000 Received: from unknown (HELO palrel13.hp.com) (156.153.255.238) by sources.redhat.com with SMTP; 29 Mar 2003 03:03:04 -0000 Received: from hplms2.hpl.hp.com (hplms2.hpl.hp.com [15.0.152.33]) by palrel13.hp.com (Postfix) with ESMTP id 270B71C00E64; Fri, 28 Mar 2003 19:03:04 -0800 (PST) Received: from napali.hpl.hp.com (napali.hpl.hp.com [15.4.89.123]) by hplms2.hpl.hp.com (8.10.2/8.10.2 HPL-PA Hub) with ESMTP id h2T32vA02974; Fri, 28 Mar 2003 19:02:58 -0800 (PST) Received: from napali.hpl.hp.com (localhost [127.0.0.1]) by napali.hpl.hp.com (8.12.3/8.12.3/Debian-5) with ESMTP id h2T32vLA001582; Fri, 28 Mar 2003 19:02:57 -0800 Received: (from davidm@localhost) by napali.hpl.hp.com (8.12.3/8.12.3/Debian-5) id h2T32vZa001578; Fri, 28 Mar 2003 19:02:57 -0800 From: David Mosberger MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16005.3297.263899.620401@napali.hpl.hp.com> Date: Sat, 29 Mar 2003 04:10:00 -0000 To: kaz Kojima Cc: libc-hacker@sources.redhat.com Subject: Re: [PATCH] SH: atomic.h fixes In-Reply-To: <200303290258.h2T2wB818655@r-rr.iij4u.or.jp> References: <200303290239.h2T2dQu02066@magilla.sf.frob.com> <200303290258.h2T2wB818655@r-rr.iij4u.or.jp> Reply-To: davidm@hpl.hp.com X-SW-Source: 2003-03/txt/msg00136.txt.bz2 >>>>> On Sat, 29 Mar 2003 12:04:14 +0900, kaz Kojima said: Roland> Roland McGrath wrote: > I see. Nice scheme. Please put some comments in bits/atomic.h > explaining it. Perhaps a pointer to Bershad's paper might be appropriate, too: B.N. Bershad, D. Redell, and J. Ellis. Fast Mutual Exclusion for Uniprocessors. Proceedings of the Fifth Architectural Support for Programming Languages and Operating Systems (ASPLOS), pp. 223-233, October 1992. http://www.cs.washington.edu/homes/bershad/Papers/Rcs.ps --david