Received: by 10.223.164.202 with SMTP id h10csp3043700wrb; Mon, 13 Nov 2017 01:10:59 -0800 (PST) X-Google-Smtp-Source: AGs4zMaAcx73IKDN65nh1AEeISciL0VT0JbLL+hpjN3I19w+vwcNfpi6Dig4T5Kx0Ydhi9+cd4j4 X-Received: by 10.98.58.199 with SMTP id v68mr9332456pfj.44.1510564259120; Mon, 13 Nov 2017 01:10:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510564259; cv=none; d=google.com; s=arc-20160816; b=y6No1kgI1Hq/dS6m52s/ZhzPuc9Ce5+eDritU+IEbeK2s3c20LGAOSbFd+S1dUg/xW /Yrwp/M0gC5+qu2W+OCu8De6BYE3V2SVovk+CBPFxBaUgqe3q5mLJWbOS9SE0UuEfhqJ NvsSYYKqpwCNACU14g1gZuaX+jxFjrgzaBbIVLPQLLZyxcY0nNu8ycxsLNvzgoiiV3i+ XXiYyaBUnKEca2JCohFF7B1EHz2ySnIw1YtYZEVA8c1Su9J2ZzyvNWdhDNh8+0gg6XVe OoenoXCahvdoTusJ7VAFZnmxvT9ChX7lF6PSCm4qciF60L3WhPEc6aLyuTjOeQYqWeM9 /6NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:arc-authentication-results; bh=AvRjjqp06TjDUAkZPf2UU9dJtLVq/Q8u28LN6GOT/98=; b=jNfE2ttyIocVKPKh71zNXMuJ41d6d5g2JaziSQn97AZjfEtfb+hZPFvayhA34z9c7n +PzMqbtOXxci45l5FTFVQRZfbbaURnpKcB8E3NgDx6GIw2J9btp9OMTFMeu8LXVs7IOE Yd6vPXjkUoihX2It7ztfg/HH3lhzspX03NBdVfMsaOjZQsJwF6qdS/oPagGAFd6HK4H5 lizrv5n7x7atBMTNKH1WTGSgjE8jKzhse1B3GDJhoLuZWSfGSKTTP4yFW9FwIlf+a+ga liAPsoubLeR/3dMAGFuiNJDkWEOl8iNzBL2+pIJ5nd0rl172KFLZJIYT/JrzqCze6WzQ 03xg== ARC-Authentication-Results: i=1; mx.google.com; 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 c17si15040064pfe.338.2017.11.13.01.10.41; Mon, 13 Nov 2017 01:10:59 -0800 (PST) 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; 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 S1752083AbdKMJKC convert rfc822-to-8bit (ORCPT + 92 others); Mon, 13 Nov 2017 04:10:02 -0500 Received: from mga11.intel.com ([192.55.52.93]:2457 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751377AbdKMJKA (ORCPT ); Mon, 13 Nov 2017 04:10:00 -0500 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Nov 2017 01:09:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,388,1505804400"; d="scan'208";a="2003114" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by fmsmga001.fm.intel.com with ESMTP; 13 Nov 2017 01:09:57 -0800 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.180]) by IRSMSX103.ger.corp.intel.com ([169.254.3.49]) with mapi id 14.03.0319.002; Mon, 13 Nov 2017 09:09:56 +0000 From: "Reshetova, Elena" To: Peter Zijlstra CC: "linux-kernel@vger.kernel.org" , "gregkh@linuxfoundation.org" , "keescook@chromium.org" , "tglx@linutronix.de" , "mingo@redhat.com" , "ishkamiel@gmail.com" , Will Deacon , Paul McKenney , "stern@rowland.harvard.edu" , "parri.andrea@gmail.com" , "boqun.feng@gmail.com" , "dhowells@redhat.com" , "david@fromorbit.com" Subject: RE: [PATCH] refcount: provide same memory ordering guarantees as in atomic_t Thread-Topic: [PATCH] refcount: provide same memory ordering guarantees as in atomic_t Thread-Index: AQHTS+92qOdaqfxtzUSi29Fjx7+W86LxWH8AgAXrypCAAGnUAIAGNEwQgANK0gCAEPeXEA== Date: Mon, 13 Nov 2017 09:09:57 +0000 Message-ID: <2236FBA76BA1254E88B949DDB74E612B802BC4BA@IRSMSX102.ger.corp.intel.com> References: <1508756984-18980-1-git-send-email-elena.reshetova@intel.com> <20171023131224.GC3165@worktop.lehotels.local> <2236FBA76BA1254E88B949DDB74E612B802B6A2E@IRSMSX102.ger.corp.intel.com> <20171027135624.GY3165@worktop.lehotels.local> <2236FBA76BA1254E88B949DDB74E612B802B89B8@IRSMSX102.ger.corp.intel.com> <20171102135742.7o4urtltgvhr6dku@hirez.programming.kicks-ass.net> In-Reply-To: <20171102135742.7o4urtltgvhr6dku@hirez.programming.kicks-ass.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNTNhNTA3YWMtOWRhOC00YTE2LTg4MGYtYWQ5YmM2MzcyYzVhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiI2V2ZHS3k4cDFoSzVGaUd5QU0xZkhvSzZmdDJKbThaelRwQjBpeUtaVVJZODA2Y0x4S0FkdmdwV2pKTDNLSkRHIn0= x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Note that there's work done on better documents and updates to this one. > One document that might be good to read (I have not in fact had time to > read it myself yet :-(): > > https://github.com/aparri/memory- > model/blob/master/Documentation/explanation.txt > I have just finished reading over this and must say that this is excellent. If I would have started reading on this topic from this doc and then move to other in-tree docs, including memory-barriers.txt, I would have had much less issues/questions and it would be much less of a bumpy read. Is there any plan to include it into official kernel doc tree? I really think it would be very helpful for others also even basically to explain the notations, properties and language people talk about these issues and give examples. I will try to improve a bit the new doc I have previously sent a patch for in the spirit of this reading. Best Regards, Elena. From 1583045870703591022@xxx Fri Nov 03 11:56:28 +0000 2017 X-GM-THRID: 1582046402032606032 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread