From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: panic in do_last() Date: Fri, 18 Apr 2014 03:42:23 +0100 Message-ID: <20140418024223.GJ18016@ZenIV.linux.org.uk> References: <20140418015750.GG18016@ZenIV.linux.org.uk> <20140418021707.GH18016@ZenIV.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: David Howells , linux-fsdevel@vger.kernel.org, Hugh Dickins To: Lin Ming Return-path: Received: from zeniv.linux.org.uk ([195.92.253.2]:34760 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750970AbaDRCmZ (ORCPT ); Thu, 17 Apr 2014 22:42:25 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, Apr 17, 2014 at 07:35:14PM -0700, Lin Ming wrote: > Added a barrier(), but still panic. Wrong kind of barrier ;-) This one just says the compiler that it shouldn't reorder; it doesn't help other CPUs at all. Read Documentation/memory-barriers.txt for details, but I seriously wonder if we _want_ to mess with barriers in the first place...