From owner-freebsd-ia64@FreeBSD.ORG Thu Apr 14 06:54:35 2005 Return-Path: Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE41416A4D1 for ; Thu, 14 Apr 2005 06:54:34 +0000 (GMT) Received: from mail25.sea5.speakeasy.net (mail25.sea5.speakeasy.net [69.17.117.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 527B943D53 for ; Thu, 14 Apr 2005 06:54:34 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 4761 invoked from network); 14 Apr 2005 06:54:34 -0000 Received: from server.baldwin.cx ([216.27.160.63]) (envelope-sender )AES256-SHA encrypted SMTP for ; 14 Apr 2005 06:54:33 -0000 Received: from [131.106.57.68] (p178.n-lapop01.stsn.com [12.129.240.178]) (authenticated bits=0) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id j3E6sRWk035067; Thu, 14 Apr 2005 02:54:28 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: amd64@FreeBSD.org, arm@FreeBSD.org, ia64@FreeBSD.org, sparc64@FreeBSD.org Date: Thu, 14 Apr 2005 02:54:13 -0400 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200504140254.14714.jhb@FreeBSD.org> X-Spam-Status: No, score=-2.8 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx Subject: Atomic operations patch X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2005 06:54:35 -0000 I have some cleanups for the atomic operations that fixes incorrect use of the "+m" constraint and changes the atomic_foo_ptr() operations to operate on uintptr_t's rather than void *'s to make it simpler to implement. Patch is at http://www.FreeBSD.org/~jhb/patches/atomic.patch It's already tested on alpha, i386, and sparc64. Please let me know how it goes for the other archs. Thanks, -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org