From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 831CFA052E; Mon, 3 Feb 2020 17:11:42 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8D3F11BFC4; Mon, 3 Feb 2020 17:11:41 +0100 (CET) Received: from smtp2.iitb.ac.in (smtp9.iitb.ac.in [103.21.125.64]) by dpdk.org (Postfix) with ESMTP id 372BC1BF9B for ; Mon, 3 Feb 2020 05:56:30 +0100 (CET) Received: from ldns4.iitb.ac.in (ldns4.iitb.ac.in [10.200.12.4]) by smtp2.iitb.ac.in (Postfix) with SMTP id 1BEAA104D0C9 for ; Mon, 3 Feb 2020 10:26:29 +0530 (IST) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.iitb.ac.in 1BEAA104D0C9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iitb.ac.in; s=mail; t=1580705789; bh=cYrlSYxJ1ETbD421Myx57OLtGIMn5Jeri4OPnN3F8/U=; h=From:To:Cc:Subject:Date:From; b=AKxADwAroqyLHXACuGgdotReU+7T4o5uwneIM2rMVFvBO1UGinO+EeLeq/acJCK3J mHIw7N3e4IQs/NJJZy2v+04eeuwQIxySoYb3c0mX3k4wzfsYHjxaYVjI0eVDuaU9HZ b/uR/Rm/S4N9BKfBdY7eZW49zoyCWgIQ5CoFg8rc= Received: (qmail 14628 invoked by uid 510); 3 Feb 2020 10:26:29 +0530 X-Qmail-Scanner-Diagnostics: from 10.200.25.25 by ldns4 (envelope-from , uid 501) with qmail-scanner-2.11 spamassassin: 3.4.1. mhr: 1.0. {clamdscan: 0.100.0/25714} Clear:RC:1(10.200.25.25):SA:0(-0.5/7.0):. Processed in 4.8785 secs; 03 Feb 2020 10:26:29 +0530 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on ldns4.iitb.ac.in X-Spam-Level: X-Spam-Status: No, score=-0.5 required=7.0 tests=BAYES_05,IITB_ORIG, PROPER_IITB_MSGID autolearn=disabled version=3.4.1 X-Spam-Pyzor: Reported 0 times. X-Envelope-From: prateekag@cse.iitb.ac.in X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received: from unknown (HELO ldns4.iitb.ac.in) (10.200.25.25) by ldns2.iitb.ac.in with SMTP; 3 Feb 2020 10:26:24 +0530 Received: from smtp-auth.iitb.ac.in (smtpauth3.iitb.ac.in [10.200.8.3]) by ldns4.iitb.ac.in (Postfix) with ESMTP id C8B58341A77; Mon, 3 Feb 2020 10:26:23 +0530 (IST) Received: from prateek.domain.name (unknown [10.4.64.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: 193050006@iitb.ac.in) by smtp-auth.iitb.ac.in (Postfix) with ESMTPSA id B7D5C30C327; Mon, 3 Feb 2020 10:26:23 +0530 (IST) From: prateekag@cse.iitb.ac.in To: dev@dpdk.org Cc: prateekagarwal88 Date: Mon, 3 Feb 2020 10:26:08 +0530 Message-Id: <20200203045608.5870-1-prateekag@cse.iitb.ac.in> X-Mailer: git-send-email 2.17.1 X-Mailman-Approved-At: Mon, 03 Feb 2020 17:11:41 +0100 Subject: [dpdk-dev] [PATCH] Documentation errata:RCU_lib.rst and Ring fig 6.10 corrected X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: prateekagarwal88 Signed-off-by: prateekagarwal88 --- .../prog_guide/img/ring-mp-enqueue3.svg | 194 +++++++++--------- doc/guides/prog_guide/rcu_lib.rst | 2 +- 2 files changed, 101 insertions(+), 95 deletions(-) diff --git a/doc/guides/prog_guide/img/ring-mp-enqueue3.svg b/doc/guides/prog_guide/img/ring-mp-enqueue3.svg index da483b031..8c15cc7c0 100644 --- a/doc/guides/prog_guide/img/ring-mp-enqueue3.svg +++ b/doc/guides/prog_guide/img/ring-mp-enqueue3.svg @@ -2,6 +2,7 @@ + @@ -359,15 +360,15 @@ inkscape:pageshadow="2" inkscape:zoom="1.4" inkscape:cx="201.35119" - inkscape:cy="221.79811" + inkscape:cy="107.5124" inkscape:document-units="px" inkscape:current-layer="layer1" showgrid="false" - inkscape:window-width="958" - inkscape:window-height="1002" - inkscape:window-x="223" - inkscape:window-y="22" - inkscape:window-maximized="0" + inkscape:window-width="1313" + inkscape:window-height="713" + inkscape:window-x="53" + inkscape:window-y="27" + inkscape:window-maximized="1" inkscape:snap-grids="false" inkscape:snap-to-guides="true" showguides="false" @@ -382,8 +383,10 @@ visible="true" enabled="true" snapvisiblegridlinesonly="true" - originx="-162.97143px" - originy="-370.03525px" /> + originx="-162.97143" + originy="-370.03525" + spacingx="1" + spacingy="1" /> @@ -393,7 +396,7 @@ image/svg+xml - + @@ -490,37 +493,37 @@ obj1 + y="495.49646" + style="font-size:14px;line-height:1.25">obj1 obj2 + y="495.49646" + style="font-size:14px;line-height:1.25">obj2 obj3 + y="495.49646" + style="font-size:14px;line-height:1.25">obj3 cons_head + y="589.505" + style="font-size:14px;line-height:1.25">cons_head cons_tail + y="603.41034" + style="font-size:14px;line-height:1.25">cons_tail prod_head + x="567.01239" + y="587.9577" + style="font-size:14px;line-height:1.25">prod_head prod_tail + y="602.57739" + style="font-size:14px;line-height:1.25">prod_tail local variableslocal variablescore 2 + id="tspan4150" + style="font-size:14px;line-height:1.25">core 2 structure state + y="664.09021" + style="font-size:14px;line-height:1.25">structure state cons_tail + y="401.48123" + style="font-size:14px;line-height:1.25">cons_tail prod_head + y="401.48123" + style="font-size:14px;line-height:1.25">prod_head prod_next + y="401.48123" + style="font-size:14px;line-height:1.25">prod_next local variableslocal variablescore 1 + id="tspan4152" + style="font-size:14px;line-height:1.25">core 1 cons_tail + y="328.57767" + style="font-size:14px;line-height:1.25">cons_tail prod_head + y="328.57767" + style="font-size:14px;line-height:1.25">prod_head prod_next + y="328.57767" + style="font-size:14px;line-height:1.25">prod_next compare and swap succeedscompare and swap succeedson core 2 + id="tspan3324" + style="font-size:14px;line-height:1.25">on core 2 obj4 + y="495.49646" + style="font-size:14px;line-height:1.25">obj4 obj5 + y="496.00156" + style="font-size:14px;line-height:1.25">obj5 diff --git a/doc/guides/prog_guide/rcu_lib.rst b/doc/guides/prog_guide/rcu_lib.rst index 8d0dfcf29..9b0bf138f 100644 --- a/doc/guides/prog_guide/rcu_lib.rst +++ b/doc/guides/prog_guide/rcu_lib.rst @@ -61,7 +61,7 @@ wait till thread 2 enters quiescent state as well. However, the writer does not need to wait for reader thread 3 to enter quiescent state. Reader thread 3 was not accessing D1 when the delete -operation happened. So, reader thread 1 will not have a reference to the +operation happened. So, reader thread 3 will not have a reference to the deleted entry. It can be noted that, the critical sections for D2 is a quiescent state -- 2.17.1