Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760824Ab2EITX7 (ORCPT ); Wed, 9 May 2012 15:23:59 -0400 Received: from terminus.zytor.com ([198.137.202.10]:43450 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756153Ab2EITX5 (ORCPT ); Wed, 9 May 2012 15:23:57 -0400 Message-ID: <4FAAC432.5080503@zytor.com> Date: Wed, 09 May 2012 12:23:30 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 MIME-Version: 1.0 To: Andrew Morton CC: "Michael S. Tsirkin" , Rob Landley , Thomas Gleixner , Ingo Molnar , x86@kernel.org, Arnd Bergmann , 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 Subject: Re: [PATCH] bitops: add _local bitops References: <20120509134528.GA18044@redhat.com> <20120509121940.459e93ba.akpm@linux-foundation.org> In-Reply-To: <20120509121940.459e93ba.akpm@linux-foundation.org> X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 585 Lines: 16 On 05/09/2012 12:19 PM, Andrew Morton wrote: > > Secondly: can KVM just use __set_bit() and friends? I suspect those > interfaces happen to meet your requirements. At least on architectures > you care about. > __set_bit() and friends right now don't have optimization barriers, meaning the compiler is free to move them around. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/