From owner-freebsd-current@FreeBSD.ORG Thu Nov 5 12:24:56 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B64910656C5; Thu, 5 Nov 2009 12:24:56 +0000 (UTC) (envelope-from giovanni.trematerra@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id 72CDB8FC08; Thu, 5 Nov 2009 12:24:55 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 25so952eya.9 for ; Thu, 05 Nov 2009 04:24:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=e2dLRh/5W6x31WoxQ18lO0cgDRyeXnXiaZl4GH+1HRI=; b=KD0dMQ0cQYMlDd9iBlSBjSQBXJFZLArZlRhs4nrcCQOZolRyWEqE4+6WPTyTVLrZoH qiXZAR+MEvgCGotDZg5ZloiIv8yY0EKQiB2QIeevxVBwMHJIzB7g2IZA0t2yGQxsTrPg u041YH+R7EBJa4BiHqGdNOGKTOPCsYJsicbE8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=tMmz3nwiO51uhfbENhwA0t7BecOjzWIYG33B+b7wGtZKfSqxmvzaEMXCm7XiFICX/i BG0tsfdCzgjJYC+nY0RReQ0qpBR1LV7xQZvgLynRrTs6wegjQ4vfw7+sLYxssUdbyuic X0oD8sJLNhWaO30oJiDsxoBJCOOpknuSuZerg= MIME-Version: 1.0 Received: by 10.216.90.21 with SMTP id d21mr895394wef.85.1257423893918; Thu, 05 Nov 2009 04:24:53 -0800 (PST) In-Reply-To: <20091105112834.GR2331@deviant.kiev.zoral.com.ua> References: <4e6cba830911050302k56bed35aj5ca9fa16379ab325@mail.gmail.com> <20091105112834.GR2331@deviant.kiev.zoral.com.ua> Date: Thu, 5 Nov 2009 13:24:53 +0100 Message-ID: <4e6cba830911050424y17ea8e7fmf5573b3a765eac27@mail.gmail.com> From: Giovanni Trematerra To: Kostik Belousov Content-Type: text/plain; charset=ISO-8859-1 Cc: Attilio Rao , des@des.no, FreeBSD Current Subject: Re: [PATCH] AMD Opteron Rev. E hack X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2009 12:24:56 -0000 On Thu, Nov 5, 2009 at 12:28 PM, Kostik Belousov wrote: > > Aren't atomic_readandclear need the same workaround ? > I understood that the bug manifests itself only when lock instruction is used. atomic_readandclear doesn't use lock. I think i386/linux/linux_support.s and amd64/linux32/linux32_support.s need the work-around too. > It would be much easier to read the patch if you generated it > with analog of "svn diff -x -p" for your VCS. > I'm sorry, I'll do my best next time. -- Giovanni Trematerra