From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755951AbdKNRYm (ORCPT ); Tue, 14 Nov 2017 12:24:42 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:59126 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753921AbdKNRYe (ORCPT ); Tue, 14 Nov 2017 12:24:34 -0500 Date: Tue, 14 Nov 2017 09:24: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: <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> <20171113131926.GD3624@linux.vnet.ibm.com> <2236FBA76BA1254E88B949DDB74E612B802BC764@IRSMSX102.ger.corp.intel.com> <20171113162651.GF3624@linux.vnet.ibm.com> <2236FBA76BA1254E88B949DDB74E612B802BCCDE@IRSMSX102.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2236FBA76BA1254E88B949DDB74E612B802BCCDE@IRSMSX102.ger.corp.intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 17111417-0036-0000-0000-0000028C19C1 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008066; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000240; SDB=6.00945825; UDB=6.00477371; IPR=6.00726121; BA=6.00005690; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00018013; XFM=3.00000015; UTC=2017-11-14 17:24:31 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17111417-0037-0000-0000-0000426152DC Message-Id: <20171114172426.GU3624@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-11-14_08:,, 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-1709140000 definitions=main-1711140237 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 14, 2017 at 11:23:53AM +0000, Reshetova, Elena wrote: > > On Mon, Nov 13, 2017 at 04:01:11PM +0000, Reshetova, Elena wrote: > > > > > > > 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? > > > > > > I think my Acked-by has little value in this case since I am really a beginner in it > > > myself, but I would strongly suggest to Peter and others to consider inclusion > > > of this doc into the tree since I do see a value in it. Again, I am not really an > > > important person here :) > > > > I respectfully disagree. > > > > The fact that this file was helpful to a self-described beginner > > such as yourself is -way- more important than it being helpful to us > > battlescarred veterans. > > > > Besides, Peter already agreed, perhaps in a moment of weakness, to > > allow his name to be added to this patch. > > > > In any case, it is your choice, but I personally would value your > > Acked-by. > > Sure, please feel free to add it if it is of any help/value! Very good, I have added it, thank you! Thanx, Paul > Best Regards, > Elena. > > > > > > > > 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. > > > > > > Great, I think it would help people! > > > > Here is hoping! ;-) > > > > > > Thanx, Paul > > > > > Best Regards, > > > Elena. > > > > > > > > > > > > > > > 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. > > > > > > > > >