From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [PATCH v9 3/5] qrwlock, x86 - Treat all data type not bigger than long as atomic in x86 Date: Wed, 22 Jan 2014 13:09:17 +0100 Message-ID: <20140122120917.GA8894@gmail.com> References: <1389761047-47566-1-git-send-email-Waiman.Long@hp.com> <1389761047-47566-4-git-send-email-Waiman.Long@hp.com> <20140120150316.GG30183@twins.programming.kicks-ass.net> <52DE9410.6090500@hp.com> <20140121153958.GA31570@twins.programming.kicks-ass.net> <52DE9BB0.5070909@hp.com> <20140122080155.GE31570@twins.programming.kicks-ass.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-ea0-f180.google.com ([209.85.215.180]:51025 "EHLO mail-ea0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755249AbaAVMJW (ORCPT ); Wed, 22 Jan 2014 07:09:22 -0500 Content-Disposition: inline In-Reply-To: <20140122080155.GE31570@twins.programming.kicks-ass.net> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Peter Zijlstra Cc: Linus Torvalds , Waiman Long , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Arnd Bergmann , "linux-arch@vger.kernel.org" , the arch/x86 maintainers , Linux Kernel Mailing List , Steven Rostedt , Andrew Morton , Michel Lespinasse , Andi Kleen , Rik van Riel , "Paul E. McKenney" , Raghavendra K T , George Spelvin , Tim Chen , "Chandramouleeswaran, Aswin" , Scott J Norton * Peter Zijlstra wrote: > On Tue, Jan 21, 2014 at 04:31:56PM -0800, Linus Torvalds wrote: > > And if somebody tries to do a "smp_store_release()" on a random > > structure or union, do we care? We're not some nanny state that wants > > to give nice warnings for insane code. > > Hurm, and here I thought warning on insane code was a good idea :/ There's a level of insanity that is best cured through Darwin Awards? Thanks, Ingo