From owner-freebsd-amd64@FreeBSD.ORG Fri Feb 4 22:29:39 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A5DD16A4CE; Fri, 4 Feb 2005 22:29:39 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id E81E343D45; Fri, 4 Feb 2005 22:29:38 +0000 (GMT) (envelope-from scottl@freebsd.org) Received: from [192.168.254.12] (g4.samsco.home [192.168.254.12]) (authenticated bits=0) by pooker.samsco.org (8.13.1/8.13.1) with ESMTP id j14MTD5H038306; Fri, 4 Feb 2005 15:29:13 -0700 (MST) (envelope-from scottl@freebsd.org) Message-ID: <4203F750.1060102@freebsd.org> Date: Fri, 04 Feb 2005 15:29:36 -0700 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: en-us, en MIME-Version: 1.0 To: John Baldwin References: <200502041558.28521.jhb@FreeBSD.org> In-Reply-To: <200502041558.28521.jhb@FreeBSD.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org cc: amd64@freebsd.org cc: peter@freebsd.org Subject: Re: [PATCH] Change atomic operations to use fences for memory barriers X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Feb 2005 22:29:39 -0000 John Baldwin wrote: > The patch below changes the atomic operations on amd64 to use the cheaper > fence instructions for memory barriers. I'd like people to test it to see if > 1) it breaks things or not, and 2) if it impacts performance either in a good > way or a bad way. For this last I'm curious about both UP and SMP as my > initial guess is that it will help on UP but might hurt on SMP. > I think you forgot the patch. Scott