From owner-svn-src-head@FreeBSD.ORG Fri Jul 9 18:58:54 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7AA3F1065673 for ; Fri, 9 Jul 2010 18:58:54 +0000 (UTC) (envelope-from pali.gabor@googlemail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 019DE8FC18 for ; Fri, 9 Jul 2010 18:58:53 +0000 (UTC) Received: by bwz12 with SMTP id 12so1593613bwz.13 for ; Fri, 09 Jul 2010 11:58:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :organization:user-agent:mime-version:to:cc:subject :x-enigmail-version:content-type:content-transfer-encoding; bh=f2z6lB2gSqdyOx/SEdJA+54QnMl85Zzbsyl+ZZUCnDM=; b=TH4cIczddt3komU9CD8Y8HmGrlhqUXUAB4YeEwDHU9t2mGtjpFTYiTAHtry9GaFqt6 PDpdO20yJU8eBzDHN6evCf7/0Kjbqz3DkweRQZYtUcn2oNMezfZZb3X7Aj7vu3hFpRPB ONxGOFm8kTUQXdkJ98MGk8yT6Dvsw1l0J/Dv4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:message-id:date:from:organization:user-agent:mime-version:to :cc:subject:x-enigmail-version:content-type :content-transfer-encoding; b=ZZMG4wt8UjRqANsr7/qHu74iNAa/vM2FrgMbwQUA9WTmoMIbxESizMnER9rTEccjJ4 Fnhzc6yobczur0Zwh8kGJZ71zkIo2o4uVu6fjDzUAtGMMuTJu62XRc8QX/lpwVo8FvwL JL6Pi4DMk9tRcJeXNymA/+nI/wn1DYX0xSP/4= Received: by 10.204.162.204 with SMTP id w12mr7588440bkx.135.1278700607902; Fri, 09 Jul 2010 11:36:47 -0700 (PDT) Received: from [129.16.199.244] (dhcp-199-244.nomad.chalmers.se [129.16.199.244]) by mx.google.com with ESMTPS id y2sm4848308bkx.20.2010.07.09.11.36.45 (version=SSLv3 cipher=RC4-MD5); Fri, 09 Jul 2010 11:36:46 -0700 (PDT) Sender: =?UTF-8?B?UMOBTEkgR8OhYm9yIErDoW5vcw==?= Message-ID: <4C376B0E.9050505@FreeBSD.org> Date: Fri, 09 Jul 2010 20:31:42 +0200 From: Gabor PALI Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.9) Gecko/20100331 Thunderbird/3.0.4 MIME-Version: 1.0 To: Robert Watson X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org Subject: Re: svn commit: r209119 - head/sys/sys X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 18:58:54 -0000 On 06/18/10 14:08, Robert Watson wrote: > The only reservation I have, really, is that 64-bit writes are non-atomic on > i386 and other 32-bit architectures (or, at least, I think they are). This > means DPCPU_SUM may encounter non-atomicity rather than just staleness in the > values it reads as it iterates. That said, we should probably use 64-bit > anyway, because 32-bit counters are gauche. :-) What is about introducing 64-bit atomic counters? Cheers, :g