From owner-freebsd-ppc@FreeBSD.ORG Wed Sep 24 00:47:52 2008 Return-Path: Delivered-To: ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 595301065671 for ; Wed, 24 Sep 2008 00:47:52 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from nagasaki.bogus.com (nagasaki.bogus.com [IPv6:2001:418:1::81]) by mx1.freebsd.org (Postfix) with ESMTP id 3A0528FC1E for ; Wed, 24 Sep 2008 00:47:52 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dhcp-206.nokiaip.net ([192.103.16.206]) (authenticated bits=0) by nagasaki.bogus.com (8.14.3/8.14.3) with ESMTP id m8O0lpwg040125 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 24 Sep 2008 00:47:51 GMT (envelope-from grehan@freebsd.org) Message-ID: <48D98E2C.1090606@freebsd.org> Date: Tue, 23 Sep 2008 17:47:40 -0700 From: Peter Grehan User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: Marcel Moolenaar References: <675B0620-77FE-4B99-AC98-C0002F8045F7@mac.com> In-Reply-To: <675B0620-77FE-4B99-AC98-C0002F8045F7@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.93.3/8319/Tue Sep 23 21:45:28 2008 on nagasaki.bogus.com X-Virus-Status: Clean Cc: ppc@freebsd.org Subject: Re: ZFS race condition? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2008 00:47:52 -0000 Hi Marcel, > Anyone else playing with ZFS on PowerPC seeing this? It's on my todo list but you're a long way ahead of me :) You could try the 'null' stwcx in the context switch asm to flush any pending reservations - I think I may have sent you mail about this a long while back. This may result in two sections of code both thinking they have a lock. later, Peter.