Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936099Ab3DJHMl (ORCPT ); Wed, 10 Apr 2013 03:12:41 -0400 Received: from merlin.infradead.org ([205.233.59.134]:47654 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750969Ab3DJHMk (ORCPT ); Wed, 10 Apr 2013 03:12:40 -0400 Message-ID: <1365577957.30071.13.camel@laptop> Subject: Re: [PATCH] [PATCH] Gaurantee spinlocks implicit barrier for !PREEMPT_COUNT From: Peter Zijlstra To: Linus Torvalds Cc: Steven Rostedt , Vineet Gupta , Thomas Gleixner , Christian Ruppert , Pierrick Hascoet , Frederic Weisbecker , Ingo Molnar , Linux Kernel Mailing List Date: Wed, 10 Apr 2013 09:12:37 +0200 In-Reply-To: References: <1364998282-21437-1-git-send-email-vgupta@synopsys.com> <20130404152808.GB15261@ab42.lan> <515E54BD.2090300@synopsys.com> <51602459.3040105@synopsys.com> <51624591.4010303@synopsys.com> <1365428274.2609.160.camel@laptop> <1365431470.2733.16.camel@fedora> <1365433142.2733.18.camel@fedora> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.2-0ubuntu0.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 521 Lines: 12 On Tue, 2013-04-09 at 07:32 -0700, Linus Torvalds wrote: > Something like the attached (still untested, although it seems to at > least compile) patch. Comments? Yes, makes me feel far more comfortable than this "asm volatile" business (which as you noted has holes in it). -- 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/