Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2012076imm; Thu, 12 Jul 2018 11:35:28 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeDF8K6pJWiV/+jYuRSMWU9CZ8g8fOqFVBXYUJV4kvHkm6rp/+i2QO7AWV7DzKAsZYefJId X-Received: by 2002:a63:7703:: with SMTP id s3-v6mr3148736pgc.339.1531420528651; Thu, 12 Jul 2018 11:35:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531420528; cv=none; d=google.com; s=arc-20160816; b=b/hto0psJHht0L8/UrEkwMUTstyqqP6CYz4G/ne9COMl7t7laoW+AwR9s7awFmNZML tH6blNDfE02csSkB75z4JSJdmQH63LCDxheHBprqw6WLgMOdQO0OYHa5x52AMsz7i7QF 2jQ4OQ19rRxPBkpEhk8dgAIWe3yB0KSRVu2uSJUiz4EKxOsrRbrXT6I+fFcEFSVsfreD yP6TnrqFIU/r5fihqJCowQKWOV0151er7zvf3+jRmaC+qbzXe3ORNRfiOFwAWHgJTbhL xCZxfvTAPehY2ICuBNunOb0Hqq1N/8QZHC/1YEVWMr6fWC2mheEocM80wcN7XaJwEO3H eMUw== 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=aT8wYNcncZsNjp+4/8xdzZbChni5paeFTIqYph7B6r4=; b=Lpr63U0JRwAg3GxctF/kayIVlx4sFXw55GN1jFVb0WWI2MoWWRYgJvB5qkCPV1L45n M3Eo5u1v4mPGBDDZt0yJu+m/BaFQfYoTMuR7XGydES9D1TMbLJP7MWdtWZVdpQ9mHgql /IRHUd8scJG5KRofR9Gsrwv0bkMapACQogjpkqndFHGrMDO9L4UlLcrrLEGmJhZdOl2Z p6Izs8mM1piQoHdZVvFJ1rnuUkRbjNvS510bYRiN9JfuDYZOhixg8WOwS5DhG820EHmD N9P/YIduCII25kOA8YNmI7oX4R7fFqFUwaGBZSDgMNTjQiCVKg8sMofKLQ8ZnEoli+6B 0I+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=2C1IxkgR; 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 g1-v6si7495154pli.58.2018.07.12.11.35.12; Thu, 12 Jul 2018 11:35:28 -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=2C1IxkgR; 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 S1732225AbeGLSow (ORCPT + 99 others); Thu, 12 Jul 2018 14:44:52 -0400 Received: from merlin.infradead.org ([205.233.59.134]:49134 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726550AbeGLSow (ORCPT ); Thu, 12 Jul 2018 14:44:52 -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=aT8wYNcncZsNjp+4/8xdzZbChni5paeFTIqYph7B6r4=; b=2C1IxkgRUp3nLV8laoJIgiwyE fCuWodpMeU92cn1OFiPs2k+m40U5ATy9zUy6I2ayhjHIt8RuqnVxb9VuXWmfyvgILyYXsS/Q4QjJW WS/XlL/FOlgP3p7mKUd5DjzW+W9BGK6D6ZkNMvSFcn148MGoDVtbHzpmairoxQvDiv3lVzsil98An B3kqTkSEpk2lhDEdlzr8iKqm9UTYv7SGhCTQ4hM9U6EWIKEuAzrQzy3o3llB+vQn2cY6dEXhSt0XG Yk0MmdUTcdF14BtLSh8/iXPxhvN82JZIZC1QsVG1A20lQXrTvrVteb10NharJIBA5iTesAnQPn+bb VPxCGrudA==; 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 1fdgPS-0005XS-OQ; Thu, 12 Jul 2018 18:33:47 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 339AE20289331; Thu, 12 Jul 2018 20:33:44 +0200 (CEST) Date: Thu, 12 Jul 2018 20:33:44 +0200 From: Peter Zijlstra To: Alan Stern Cc: Andrea Parri , Will Deacon , "Paul E. McKenney" , LKMM Maintainers -- Akira Yokosawa , Boqun Feng , Daniel Lustig , David Howells , Jade Alglave , Luc Maranget , Nicholas Piggin , Kernel development list , Linus Torvalds Subject: Re: [PATCH v2] tools/memory-model: Add extra ordering for locks and remove it for ordinary release/acquire Message-ID: <20180712183344.GQ2476@hirez.programming.kicks-ass.net> References: <20180712134821.GT2494@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Thu, Jul 12, 2018 at 01:04:27PM -0400, Alan Stern wrote: > Which raises the question of whether RCtso (adopting Daniel's suggested > term) is also too subtle or counter-intuitive for spinlocks. IMO yes, RCtso also sucks :-) But in my 'fight' for RCsc it disallows RCpc and captures the current state of affairs more accurately.