From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753758AbdKMQ07 (ORCPT ); Mon, 13 Nov 2017 11:26:59 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:40040 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753670AbdKMQ05 (ORCPT ); Mon, 13 Nov 2017 11:26:57 -0500 Date: Mon, 13 Nov 2017 08:26:51 -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> <20171113131926.GD3624@linux.vnet.ibm.com> <2236FBA76BA1254E88B949DDB74E612B802BC764@IRSMSX102.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2236FBA76BA1254E88B949DDB74E612B802BC764@IRSMSX102.ger.corp.intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 17111316-0040-0000-0000-000003C1F5D0 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008064; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000240; SDB=6.00945326; UDB=6.00477073; IPR=6.00725623; 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.00017993; XFM=3.00000015; UTC=2017-11-13 16:26:54 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17111316-0041-0000-0000-000007B7143B Message-Id: <20171113162651.GF3624@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-11-13_09:,, 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-1711130229 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > > > 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. > > > >