From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: Lots of bugs with current->state = TASK_*INTERRUPTIBLE Date: Thu, 21 Jan 2010 11:56:53 +0100 Message-ID: <1264071413.4283.1155.camel@laptop> References: <1263932978.31321.53.camel@gandalf.stny.rr.com> <1263935333.4561.26.camel@frodo> <20100121105311.GB5017@nowhere> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from casper.infradead.org ([85.118.1.10]:40679 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754484Ab0AUK47 (ORCPT ); Thu, 21 Jan 2010 05:56:59 -0500 In-Reply-To: <20100121105311.GB5017@nowhere> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Frederic Weisbecker Cc: Julia Lawall , Steven Rostedt , LKML , kernel-janitors , Andrew Morton , linux-arch@vger.kernel.org, Greg KH , Andy Whitcroft On Thu, 2010-01-21 at 11:53 +0100, Frederic Weisbecker wrote: > Looks fine as spin_unlock includes a memory barrier, IIRC. It doesn't actually, see Documentation/memory-barriers.txt