Received: by 10.213.65.68 with SMTP id h4csp54636imn; Mon, 12 Mar 2018 06:33:20 -0700 (PDT) X-Google-Smtp-Source: AG47ELsBf2/kncFEJqBJLE5Fa0F4HowbAS5KYJyeqrsTag5VCm8dX33SESGbTTQCznvwRdnoyCi0 X-Received: by 10.98.141.65 with SMTP id z62mr8078972pfd.129.1520861600510; Mon, 12 Mar 2018 06:33:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520861600; cv=none; d=google.com; s=arc-20160816; b=A1udx7pDlrQsuYpFZhlec/n9DYlLdlRo/L4SO9BupRaRdcl7UarB/RttSc/UkeUFqS /AVIEcYQE7+X4rxlnPnm3g7vbm/LF2MoRXBjzL1etYTQC+cdB4h8mdmp3+MCrn0MymUl r5xYAZWNCdnfkTbRc0ysAYKDHaVlynXiSaR2ht1l23vZeIDxafF1g8LVFYLiqRA2d0Ud FLeHU9fr1a38ITZU/c6gNoMVXCKpHGCj4HdCAWOSCymceYb4jtJFWs9zzZhA1xQ95Q+4 /yAHfsdFrBspyg/vNkpaBQ6Ou0nLVB0w2swn/rNWhTef/U7HIA55K85vmywR7ONj+M0X tL+A== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=wuJN7B644i5dZ315HuYkrstGAcTesilxY3FsvJPtZpw=; b=uh/pWBs/FDPdWngVG0IvnEB/LsTYpneIlvlkfjvt2dyOcC2VAnBWDyUVKCz/cuLpdI Vz+d6VlOWyuvda3sw5zjCCkh5kHnoNbfZ46QBRX2WFNTTTfr38AqWW9FbTZ2kDwYsqB0 ABIENh/1FawiS6oFPpdng015KIu5au/ZY6Hg2z1+XFdO2a72dkn5qk9JehZakXl/xziN zkWV84yQe17SsE5ov2VTQhRea3zCcheae/7I3ikYDoH8K2/wC7MWcZA+GjcIsWwIOxEB HN1G7i4uegFP5DZBSeXNwJ16gNGsddFMhZWI2eREDNKMwzV8hXYFKgTT3b8yWGRE6r2o UO2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Df/xaJ9W; 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 n12si2011521pgc.316.2018.03.12.06.33.05; Mon, 12 Mar 2018 06:33:20 -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=bombadil.20170209 header.b=Df/xaJ9W; 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 S932222AbeCLNbv (ORCPT + 99 others); Mon, 12 Mar 2018 09:31:51 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:51368 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751255AbeCLNbt (ORCPT ); Mon, 12 Mar 2018 09:31:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To: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=wuJN7B644i5dZ315HuYkrstGAcTesilxY3FsvJPtZpw=; b=Df/xaJ9WPTmUHvRp92NML7oCw6 1kQP48W0tu/mcPZb5q6NShW/CV2UKeel9gWG7n7L/gO6TL07iFyuJ5X/Co5h80tMkwXz4XTAiTaIQ icDMjoxxssbk5MG/1yi1SHHu4OsIv8ItdcNoh8oxcTwYmb/sQAuKoOekEYSPyIxhS2ilbsRiu47Gu 1ZfTrYJilgEegIG3S+dVKkbmK0x8nW/9p80BVqN+/rVqUDMh++tYo24FNj1kUNRFEakiTDv7yx2Dg v17nFI8H4gxsVOWItAtnqY3/8m8aK7DcvGB2Ri6LXakXYHWh8fTiiopUzwvNp9oIprMYAKhXcwQxT AUrVhtEg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.89 #1 (Red Hat Linux)) id 1evNY9-0005d6-5R; Mon, 12 Mar 2018 13:31:37 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id A25D22029FA14; Mon, 12 Mar 2018 14:31:35 +0100 (CET) Date: Mon, 12 Mar 2018 14:31:35 +0100 From: Peter Zijlstra To: =?utf-8?B?54Sm5pmT5Yas?= Cc: Boqun Feng , linux-kernel@vger.kernel.org, Alan Stern , will.deacon@arm.com, torvalds@linux-foundation.org, npiggin@gmail.com, mingo@kernel.org, mpe@ellerman.id.au, oleg@redhat.com, benh@kernel.crashing.org, Paul McKenney Subject: Re: smp_mb__after_spinlock requirement too strong? Message-ID: <20180312133135.GJ4064@hirez.programming.kicks-ass.net> References: <20180312054412.yqyde34ly3kjoajj@tardis> <20180312085600.aczjkpn73axzs2sb@tardis> <20180312085646.GE4064@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 12, 2018 at 05:13:03PM +0800, 焦晓冬 wrote: > If the fixed comment could point out where this RCsc is used, it will be great. The one that comes to mind first is RCU-sched, that relies on a context switch implying a full smp_mb(). But I think there's more..