Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5264818ybi; Tue, 30 Jul 2019 17:23:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqyAjRLfWEhg1hmmiu0QRVyP2k3jFb+Y2qKPjsmOL6acbUJFLBCPNBJjWRwy/9WdQgfDGs1Q X-Received: by 2002:a17:90a:bd8c:: with SMTP id z12mr85522pjr.60.1564532601598; Tue, 30 Jul 2019 17:23:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564532601; cv=none; d=google.com; s=arc-20160816; b=fkCGj70M3Hx0aELd7XpRn+vDU/MM+e1NXGA+tKS9WIsEhnUWwq/wIKnnIzn2DUcYdP pU5m+u7Pr1NFcmvaDyUPuKMVh3JG7b5uwdC+on9zHdNPOo6HqBsDsln1FBa3zi4VDLo2 +lJFt/keIxsmeItjL5pqvDVrLPgw7X00C9S12BOOTft8fIdoHu2KzNtnJXS42wdVLZgk jizbdm/yiOalh063C3ZINSVvqwF5DIr+tJSTrqRexAlsPv7PDceYKgHGusT+rMLoTQJm F42Gm7XJwkeOPbtPN7ccRjmXCUjns1J6U9WqQ+6GLxRaRFFIzqLVswcH7+TGyyN/+dGC adsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=JQ8ZXlp9GXhn73FiB2SmOA/5VvS72scj4r/PouoaPAI=; b=esUuBRwg6zWsMGjUa4jTr6eYWMQnoJ8V3xFjBI4GwZWB2HEqXGqM2GsMJlnmbbNRof 13/euDBihRy4jnQN/LqFYh7sBzp5M3dCByFnuaVS9nGjQ7NDX0e+8Zyd22nFc+LcQdJy EWoLmrO+GonceVffrpQTj2JgXbPBBztjT7qxNvklEGat5IH0mgDL7PqE85hlk6kbV4oB 16bTuN5g4/MCfyyESLBHM9nD/iAey8NlXlr6dHk+33Pk6kAqhPeFdnUSol8GzNjJEABd 8juIACfEwGKysO39vXzihPVOBqApl8l5tPlpx07AQ2bkSY2BCtQA6JZwYSCiwts4IWNF k0mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=bxINSaUT; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y134si14060808pfc.285.2019.07.30.17.23.06; Tue, 30 Jul 2019 17:23:21 -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=bxINSaUT; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727931AbfG3X4V (ORCPT + 99 others); Tue, 30 Jul 2019 19:56:21 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:53228 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726539AbfG3X4V (ORCPT ); Tue, 30 Jul 2019 19:56:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To: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=JQ8ZXlp9GXhn73FiB2SmOA/5VvS72scj4r/PouoaPAI=; b=bxINSaUTX7XjFtdLHCPljHp1M qm59hPe7okTSFnq+8y4mFINTa6nu8olhY2xI7KNCVqrRvQtrfqApwhiZeHpTyelWInsOQSCoV9U9e 34X55U9gp6EYK+S04Ok39X4SVpgiIlVXW8WAI+NcEB3y643eSQQdfP5wm9OAGyjSbu0bGs96MvzNT wlJjp1txOD+ML3bWf+ln4o9Ge7wegqwGwak8PFY74O1SGy6NhxU2lJiZe10UTPPemm1LEP6W5Xyga 5ZcG3eftPzFHhJS7J7xdEZ7tpVWxWOrWUpH4ajV1rUaGwVVRuGSW7XbhK37swk8uCfwt9YC72RfyQ 0xkRwOh7A==; Received: from [177.157.101.143] (helo=coco.lan) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hsbyb-0006se-Ed; Tue, 30 Jul 2019 23:56:17 +0000 Date: Tue, 30 Jul 2019 20:56:11 -0300 From: Mauro Carvalho Chehab To: "Joel Fernandes (Google)" Cc: linux-kernel@vger.kernel.org, Jonathan Corbet , Josh Triplett , Lai Jiangshan , linux-doc@vger.kernel.org, Mathieu Desnoyers , "Paul E. McKenney" , rcu@vger.kernel.org, Steven Rostedt Subject: Re: [PATCH v3 2/3] docs: rcu: Correct links referring to titles Message-ID: <20190730205611.2810fc26@coco.lan> In-Reply-To: <20190730231030.27510-3-joel@joelfernandes.org> References: <20190730231030.27510-1-joel@joelfernandes.org> <20190730231030.27510-3-joel@joelfernandes.org> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, 30 Jul 2019 19:10:29 -0400 "Joel Fernandes (Google)" escreveu: > Mauro's auto conversion broken these links, fix them. They actually worked here with the Sphinx I used, but yeah, the way it is is a way cleaner. > > Signed-off-by: Joel Fernandes (Google) > --- > .../Tree-RCU-Memory-Ordering.rst | 17 ++-- > .../RCU/Design/Requirements/Requirements.rst | 90 ++++++++----------- > 2 files changed, 47 insertions(+), 60 deletions(-) > > diff --git a/Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.rst b/Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.rst > index 1011b5db1b3d..248b1222f918 100644 > --- a/Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.rst > +++ b/Documentation/RCU/Design/Memory-Ordering/Tree-RCU-Memory-Ordering.rst > @@ -230,15 +230,14 @@ Tree RCU Grace Period Memory Ordering Components > Tree RCU's grace-period memory-ordering guarantee is provided by a > number of RCU components: > > -#. `Callback Registry <#Callback%20Registry>`__ > -#. `Grace-Period Initialization <#Grace-Period%20Initialization>`__ > -#. `Self-Reported Quiescent > - States <#Self-Reported%20Quiescent%20States>`__ > -#. `Dynamic Tick Interface <#Dynamic%20Tick%20Interface>`__ > -#. `CPU-Hotplug Interface <#CPU-Hotplug%20Interface>`__ > -#. `Forcing Quiescent States `__ > -#. `Grace-Period Cleanup `__ > -#. `Callback Invocation `__ > +#. `Callback Registry`_ > +#. `Grace-Period Initialization`_ > +#. `Self-Reported Quiescent States`_ > +#. `Dynamic Tick Interface`_ > +#. `CPU-Hotplug Interface`_ > +#. `Forcing Quiescent States`_ > +#. `Grace-Period Cleanup`_ > +#. `Callback Invocation`_ > > Each of the following section looks at the corresponding component in > detail. > diff --git a/Documentation/RCU/Design/Requirements/Requirements.rst b/Documentation/RCU/Design/Requirements/Requirements.rst > index 876e0038bb58..a33b5fb331b4 100644 > --- a/Documentation/RCU/Design/Requirements/Requirements.rst > +++ b/Documentation/RCU/Design/Requirements/Requirements.rst > @@ -36,16 +36,14 @@ technologies in interesting new ways. > All that aside, here are the categories of currently known RCU > requirements: > > -#. `Fundamental Requirements <#Fundamental%20Requirements>`__ > -#. `Fundamental Non-Requirements <#Fundamental%20Non-Requirements>`__ > -#. `Parallelism Facts of Life <#Parallelism%20Facts%20of%20Life>`__ > -#. `Quality-of-Implementation > - Requirements <#Quality-of-Implementation%20Requirements>`__ > -#. `Linux Kernel Complications <#Linux%20Kernel%20Complications>`__ > -#. `Software-Engineering > - Requirements <#Software-Engineering%20Requirements>`__ > -#. `Other RCU Flavors <#Other%20RCU%20Flavors>`__ > -#. `Possible Future Changes <#Possible%20Future%20Changes>`__ > +#. `Fundamental Requirements`_ > +#. `Fundamental Non-Requirements`_ > +#. `Parallelism Facts of Life`_ > +#. `Quality-of-Implementation Requirements`_ > +#. `Linux Kernel Complications`_ > +#. `Software-Engineering Requirements`_ > +#. `Other RCU Flavors`_ > +#. `Possible Future Changes`_ > > This is followed by a `summary <#Summary>`__, however, the answers to > each quick quiz immediately follows the quiz. Select the big white space > @@ -57,13 +55,11 @@ Fundamental Requirements > RCU's fundamental requirements are the closest thing RCU has to hard > mathematical requirements. These are: > > -#. `Grace-Period Guarantee <#Grace-Period%20Guarantee>`__ > -#. `Publish-Subscribe Guarantee <#Publish-Subscribe%20Guarantee>`__ > -#. `Memory-Barrier Guarantees <#Memory-Barrier%20Guarantees>`__ > -#. `RCU Primitives Guaranteed to Execute > - Unconditionally <#RCU%20Primitives%20Guaranteed%20to%20Execute%20Unconditionally>`__ > -#. `Guaranteed Read-to-Write > - Upgrade <#Guaranteed%20Read-to-Write%20Upgrade>`__ > +#. `Grace-Period Guarantee`_ > +#. `Publish/Subscribe Guarantee`_ > +#. `Memory-Barrier Guarantees`_ > +#. `RCU Primitives Guaranteed to Execute Unconditionally`_ > +#. `Guaranteed Read-to-Write Upgrade`_ > > Grace-Period Guarantee > ~~~~~~~~~~~~~~~~~~~~~~ > @@ -689,16 +685,11 @@ infinitely long, however, the following sections list a few > non-guarantees that have caused confusion. Except where otherwise noted, > these non-guarantees were premeditated. > > -#. `Readers Impose Minimal > - Ordering <#Readers%20Impose%20Minimal%20Ordering>`__ > -#. `Readers Do Not Exclude > - Updaters <#Readers%20Do%20Not%20Exclude%20Updaters>`__ > -#. `Updaters Only Wait For Old > - Readers <#Updaters%20Only%20Wait%20For%20Old%20Readers>`__ > -#. `Grace Periods Don't Partition Read-Side Critical > - Sections <#Grace%20Periods%20Don't%20Partition%20Read-Side%20Critical%20Sections>`__ > -#. `Read-Side Critical Sections Don't Partition Grace > - Periods <#Read-Side%20Critical%20Sections%20Don't%20Partition%20Grace%20Periods>`__ > +#. `Readers Impose Minimal Ordering`_ > +#. `Readers Do Not Exclude Updaters`_ > +#. `Updaters Only Wait For Old Readers`_ > +#. `Grace Periods Don't Partition Read-Side Critical Sections`_ > +#. `Read-Side Critical Sections Don't Partition Grace Periods`_ > > Readers Impose Minimal Ordering > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > @@ -1056,11 +1047,11 @@ it would likely be subject to limitations that would make it > inappropriate for industrial-strength production use. Classes of > quality-of-implementation requirements are as follows: > > -#. `Specialization <#Specialization>`__ > -#. `Performance and Scalability <#Performance%20and%20Scalability>`__ > -#. `Forward Progress <#Forward%20Progress>`__ > -#. `Composability <#Composability>`__ > -#. `Corner Cases <#Corner%20Cases>`__ > +#. `Specialization`_ > +#. `Performance and Scalability`_ > +#. `Forward Progress`_ > +#. `Composability`_ > +#. `Corner Cases`_ > > These classes is covered in the following sections. > > @@ -1692,21 +1683,18 @@ The Linux kernel provides an interesting environment for all kinds of > software, including RCU. Some of the relevant points of interest are as > follows: > > -#. `Configuration <#Configuration>`__. > -#. `Firmware Interface <#Firmware%20Interface>`__. > -#. `Early Boot <#Early%20Boot>`__. > -#. `Interrupts and non-maskable interrupts > - (NMIs) <#Interrupts%20and%20NMIs>`__. > -#. `Loadable Modules <#Loadable%20Modules>`__. > -#. `Hotplug CPU <#Hotplug%20CPU>`__. > -#. `Scheduler and RCU <#Scheduler%20and%20RCU>`__. > -#. `Tracing and RCU <#Tracing%20and%20RCU>`__. > -#. `Energy Efficiency <#Energy%20Efficiency>`__. > -#. `Scheduling-Clock Interrupts and > - RCU <#Scheduling-Clock%20Interrupts%20and%20RCU>`__. > -#. `Memory Efficiency <#Memory%20Efficiency>`__. > -#. `Performance, Scalability, Response Time, and > - Reliability <#Performance,%20Scalability,%20Response%20Time,%20and%20Reliability>`__. > +#. `Configuration`_ > +#. `Firmware Interface`_ > +#. `Early Boot`_ > +#. `Interrupts and NMIs`_ > +#. `Loadable Modules`_ > +#. `Hotplug CPU`_ > +#. `Scheduler and RCU`_ > +#. `Tracing and RCU`_ > +#. `Energy Efficiency`_ > +#. `Scheduling-Clock Interrupts and RCU`_ > +#. `Memory Efficiency`_ > +#. `Performance, Scalability, Response Time, and Reliability`_ > > This list is probably incomplete, but it does give a feel for the most > notable Linux-kernel complications. Each of the following sections > @@ -2344,10 +2332,10 @@ implementations, non-preemptible and preemptible. The other four flavors > are listed below, with requirements for each described in a separate > section. > > -#. `Bottom-Half Flavor (Historical) <#Bottom-Half%20Flavor>`__ > -#. `Sched Flavor (Historical) <#Sched%20Flavor>`__ > -#. `Sleepable RCU <#Sleepable%20RCU>`__ > -#. `Tasks RCU <#Tasks%20RCU>`__ > +#. `Bottom-Half Flavor (Historical)`_ > +#. `Sched Flavor (Historical)`_ > +#. `Sleepable RCU`_ > +#. `Tasks RCU`_ > > Bottom-Half Flavor (Historical) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sounds a lot better to me. Reviewed-by: Mauro Carvalho Chehab Thanks, Mauro