From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [PATCH] bitops: add _local bitops Date: Wed, 09 May 2012 08:44:29 -0700 Message-ID: <4FAA90DD.4090705@zytor.com> References: <20120509134528.GA18044@redhat.com> <4FAA7939.6040706@zytor.com> <20120509154330.GA20867@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120509154330.GA20867@redhat.com> Sender: linux-kernel-owner@vger.kernel.org To: "Michael S. Tsirkin" Cc: Rob Landley , Thomas Gleixner , Ingo Molnar , x86@kernel.org, Arnd Bergmann , Andrew Morton , David Howells , Akinobu Mita , Alexey Dobriyan , Herbert Xu , Stephen Rothwell , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Gleb Natapov , Paolo Bonzini , kvm@vger.kernel.org, Avi Kivity , Marcelo Tosatti , Linus Torvalds List-Id: linux-arch.vger.kernel.org On 05/09/2012 08:43 AM, Michael S. Tsirkin wrote: > > Just adding a memory clobber to asm will be enough, right? > Yes. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from terminus.zytor.com ([198.137.202.10]:41751 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932204Ab2EIPo4 (ORCPT ); Wed, 9 May 2012 11:44:56 -0400 Message-ID: <4FAA90DD.4090705@zytor.com> Date: Wed, 09 May 2012 08:44:29 -0700 From: "H. Peter Anvin" MIME-Version: 1.0 Subject: Re: [PATCH] bitops: add _local bitops References: <20120509134528.GA18044@redhat.com> <4FAA7939.6040706@zytor.com> <20120509154330.GA20867@redhat.com> In-Reply-To: <20120509154330.GA20867@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: "Michael S. Tsirkin" Cc: Rob Landley , Thomas Gleixner , Ingo Molnar , x86@kernel.org, Arnd Bergmann , Andrew Morton , David Howells , Akinobu Mita , Alexey Dobriyan , Herbert Xu , Stephen Rothwell , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Gleb Natapov , Paolo Bonzini , kvm@vger.kernel.org, Avi Kivity , Marcelo Tosatti , Linus Torvalds Message-ID: <20120509154429.xpG2kFQGOPyKbElBhGJ46D2fMMqyLYGZTu1JNa-DbDM@z> On 05/09/2012 08:43 AM, Michael S. Tsirkin wrote: > > Just adding a memory clobber to asm will be enough, right? > Yes. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.