From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com ([66.187.233.31]:43249 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751985AbYBYOEU (ORCPT ); Mon, 25 Feb 2008 09:04:20 -0500 From: David Howells In-Reply-To: References: <200802230733.m1N7XnMu018253@imap1.linux-foundation.org> <20080223162705.GA7686@tv-sign.ru> <20080223182258.GA19946@tv-sign.ru> Subject: Re: + kthread-add-a-missing-memory-barrier-to-kthread_stop.patch added to -mm tree Date: Mon, 25 Feb 2008 13:55:50 +0000 Message-ID: <7789.1203947750@redhat.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Dmitry Adamushko Cc: dhowells@redhat.com, Linus Torvalds , Oleg Nesterov , Andrew Morton , Linux Kernel Mailing List , a.p.zijlstra@chello.nl, apw@shadowen.org, Ingo Molnar , nickpiggin@yahoo.com.au, paulmck@linux.vnet.ibm.com, rusty@rustcorp.com.au, Steven Rostedt , linux-arch@vger.kernel.org Dmitry Adamushko wrote: > (3) > > LOCK > > LOAD(a) > MODIFY(b) > > UNLOCK > > and this last one is a problem. No? I assume you meant: LOCK LOAD(b) MODIFY(a) UNLOCK David