From owner-cvs-src@FreeBSD.ORG Wed Jul 20 02:31:40 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3EE2A16A41F; Wed, 20 Jul 2005 02:31:40 +0000 (GMT) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [12.26.83.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id B19F243D4C; Wed, 20 Jul 2005 02:31:39 +0000 (GMT) (envelope-from jroberson@chesapeake.net) Received: from [10.0.0.1] (67-40-23-118.tukw.qwest.net [67.40.23.118]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.1/8.13.1) with ESMTP id j6K2VZY1007528; Tue, 19 Jul 2005 22:31:37 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Tue, 19 Jul 2005 19:30:56 -0700 (PDT) From: Jeff Roberson X-X-Sender: jroberson@10.0.0.1 To: John Baldwin In-Reply-To: <200507151817.j6FIHx9A019286@repoman.freebsd.org> Message-ID: <20050719192959.C592@10.0.0.1> References: <200507151817.j6FIHx9A019286@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Scanned-By: MIMEDefang 2.52 on 12.26.83.25 Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/alpha/include atomic.h src/sys/amd64/include atomic.h src/sys/arm/include atomic.h src/sys/dev/hatm if_hatm_intr.c src/sys/dev/hwpmc hwpmc_mod.c src/sys/i386/include atomic.h src/sys/ia64/include atomic.h src/sys/kern kern_mutex.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 02:31:40 -0000 On Fri, 15 Jul 2005, John Baldwin wrote: > jhb 2005-07-15 18:17:59 UTC > > FreeBSD src repository > > Modified files: > sys/alpha/include atomic.h > sys/amd64/include atomic.h > sys/arm/include atomic.h > sys/dev/hatm if_hatm_intr.c > sys/dev/hwpmc hwpmc_mod.c > sys/i386/include atomic.h > sys/ia64/include atomic.h > sys/kern kern_mutex.c > sys/powerpc/include atomic.h > sys/sparc64/include atomic.h > sys/sys mutex.h > Log: > Convert the atomic_ptr() operations over to operating on uintptr_t > variables rather than void * variables. This makes it easier and simpler > to get asm constraints and volatile keywords correct. This breaks ULE as I use atomic cmpsets while passing in actual pointers. Do I have to cast everywhere now? This kind of breaks the notion of it operating on a pointer. Could we at least have an inline or define that does the type conversion? > > MFC after: 3 days > Tested on: i386, alpha, sparc64 > Compiled on: ia64, powerpc, amd64 > Kernel toolchain busted on: arm > > Revision Changes Path > 1.22 +18 -61 src/sys/alpha/include/atomic.h > 1.35 +18 -52 src/sys/amd64/include/atomic.h > 1.9 +4 -8 src/sys/arm/include/atomic.h > 1.19 +6 -3 src/sys/dev/hatm/if_hatm_intr.c > 1.11 +2 -1 src/sys/dev/hwpmc/hwpmc_mod.c > 1.39 +18 -52 src/sys/i386/include/atomic.h > 1.9 +19 -58 src/sys/ia64/include/atomic.h > 1.155 +9 -10 src/sys/kern/kern_mutex.c > 1.12 +20 -63 src/sys/powerpc/include/atomic.h > 1.9 +1 -1 src/sys/sparc64/include/atomic.h > 1.80 +14 -12 src/sys/sys/mutex.h >