From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] bitops: add _local bitops Date: Wed, 09 May 2012 17:17:21 +0300 Message-ID: <4FAA7C71.3040501@redhat.com> References: <20120509134528.GA18044@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "H. Peter Anvin" , 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, Marcelo Tosatti , Linus Torvalds To: "Michael S. Tsirkin" Return-path: In-Reply-To: <20120509134528.GA18044@redhat.com> Sender: linux-arch-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 05/09/2012 04:45 PM, Michael S. Tsirkin wrote: > > +Local versions of the bitmask operations are also provided. They are used in > +contexts where the operations need to be performed atomically with respect to > +the local CPU, but no other CPU accesses the bitmask. This assumption makes it > +possible to avoid the need for SMP protection and use less expensive atomic > +operations in the implementation. > +They have names similar to the above bitmask operation interfaces, > +except that _local is sufficed to the interface name. suffixed (better: appended) -- error compiling committee.c: too many arguments to function