From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754845AbdKMNTi (ORCPT ); Mon, 13 Nov 2017 08:19:38 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:47146 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752736AbdKMNTd (ORCPT ); Mon, 13 Nov 2017 08:19:33 -0500 Date: Mon, 13 Nov 2017 05:19:26 -0800 From: "Paul E. McKenney" To: "Reshetova, Elena" Cc: Peter Zijlstra , "linux-kernel@vger.kernel.org" , "gregkh@linuxfoundation.org" , "keescook@chromium.org" , "tglx@linutronix.de" , "mingo@redhat.com" , "ishkamiel@gmail.com" , Will Deacon , "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 Reply-To: paulmck@linux.vnet.ibm.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> <2236FBA76BA1254E88B949DDB74E612B802BC4BA@IRSMSX102.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2236FBA76BA1254E88B949DDB74E612B802BC4BA@IRSMSX102.ger.corp.intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 17111313-0036-0000-0000-0000028B5383 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008063; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000239; SDB=6.00945264; UDB=6.00477036; IPR=6.00725561; BA=6.00005689; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00017991; XFM=3.00000015; UTC=2017-11-13 13:19:29 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17111313-0037-0000-0000-0000425E2809 Message-Id: <20171113131926.GD3624@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-11-13_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1711130187 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 13, 2017 at 09:09:57AM +0000, Reshetova, Elena wrote: > > > > 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. Glad you like it! May we have your Acked-by? > 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. Yes, we do plan to submit it for inclusion. Thanx, Paul > 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. >