Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1072047imm; Wed, 11 Jul 2018 16:42:50 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe40WUdeM/sTjJLA9bmIsaAvvieoHHGLSUDHFredJLIFtN7gcBN4QSWHnJUQXu19yp6sr6o X-Received: by 2002:a62:4898:: with SMTP id q24-v6mr643102pfi.58.1531352570727; Wed, 11 Jul 2018 16:42:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531352570; cv=none; d=google.com; s=arc-20160816; b=XmRGqFuhDBEB/G7SC+BNsTfXQ2znh0CE19PNxiulIYyzROeypeZQTQdugVQFZ54jcQ dKCy5Tl+7osR1yjtzfFrCKklaLLe7oF+Jex9UfNowN++CAWWxw/vhBY26hIM22/Oz5BA ARCb8j9jomVdZGt87QhM6xQ6flZ7HcNAngsHXTYn6ZDBaMDC4Yi1E7P08IHDnOUFOm7V FWADxo2QZES+VK5wmfGadiv9d3uKhAK9R3PgxaL7qpEp5iohtiGZao6ZCQ4Z/8wYV6zd nTFImTyMvpKIfqTBu/eCZBEitgAasj9PYUqV4eZpfmCrqZn6R1ig1WDgRW3ZtVz3QAfU IKxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=u3ddxNs9NdvaDqomWC07aM/o1rUlf2A9SwOsqRd5acI=; b=P8GC0woIQdy9NLtHxJiB6zHSuzriqJYjZwciWlStmthcNB3X2euSsydE/l9zRDYZ6l AmV+gtBrfyhEJAPBWzAHO319ph2XzQhIfQE6hjCOD3ozDGvwPoWj4J1WzWPDHusl/TN7 6s55ZekKyZndwI+Xuxgx8Zyu2r2wo/tcuOEh2PfFb6Uj4k6HmzajpN4EQ8zNMUO5mRrC te6AFlR18O2L0QdHf2ZG1pClDjH7eBQKc60LtMekskt1NJ34BmsYbTwV51Kw/P5R1Zhf h+BUzr5zXsvCSJW8J2490dvFy6FS7b6/meCaEX0qdDWXXyO4HFQKYBH197r8n9JduQVw s9CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=aMMBqbFF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 140-v6si20201442pgd.19.2018.07.11.16.42.33; Wed, 11 Jul 2018 16:42:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=aMMBqbFF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388642AbeGKRG2 (ORCPT + 99 others); Wed, 11 Jul 2018 13:06:28 -0400 Received: from merlin.infradead.org ([205.233.59.134]:55548 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726460AbeGKRG2 (ORCPT ); Wed, 11 Jul 2018 13:06:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=u3ddxNs9NdvaDqomWC07aM/o1rUlf2A9SwOsqRd5acI=; b=aMMBqbFFjzRw3UPwzIsayYlxV 68CCeZQaIPqLebyXIjX9kKRgB5jFjEvpp4/vUDnDeDzhchrbrKPL6GGB/r7mnNb8B/1Qce364JSZm j3Ou34wIB4X/x32m5zgfA5gqGk6EPQfJWDcu2DoZEqlg/JkMeDP6xB8LghpNHH83M6V8kJ3T/FJsW 3oBoX1VdP8+GjEo4yy6yTbfCb6aI2sOj6ldbzx3fX92ZRqwe9YFelrZ8mFsCr341QylUQqrFP6oOv Dd2P30DpgcGci7UeR8DrYoJIDEm5EVmzmSJDmElnw9ShLSz0x+Slhyt4siR9cut5bI0Ssnem58Djv riUBPRiTw==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fdIU3-0004xT-MO; Wed, 11 Jul 2018 17:00:55 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 2B6EA20289CB4; Wed, 11 Jul 2018 19:00:53 +0200 (CEST) Date: Wed, 11 Jul 2018 19:00:53 +0200 From: Peter Zijlstra To: Will Deacon Cc: Andrea Parri , Alan Stern , "Paul E. McKenney" , LKMM Maintainers -- Akira Yokosawa , Boqun Feng , Daniel Lustig , David Howells , Jade Alglave , Luc Maranget , Nicholas Piggin , Kernel development list Subject: Re: [PATCH v2] tools/memory-model: Add extra ordering for locks and remove it for ordinary release/acquire Message-ID: <20180711170053.GM2476@hirez.programming.kicks-ass.net> References: <20180710093821.GA5414@andrea> <20180711094310.GA13963@arm.com> <20180711123421.GA9673@andrea> <20180711155751.GC18477@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180711155751.GC18477@arm.com> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 11, 2018 at 04:57:51PM +0100, Will Deacon wrote: > It might be simple to model, but I worry this weakens our locking > implementations to a point where they will not be understood by the average > kernel developer. As I've said before, I would prefer "full" RCsc locking, Another vote for RCsc locks. The (in)famous hold-out is of course PowerPC, but it now looks like RISC-V is following where they I really rather wish they didn't.