Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:cc:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=c90rlQWmr3b9pTy+mQ+YbWavRUOm2lurinSYhn5XnA4=; b=pXl9FiHDsAQGRI0Sk+aC2rSJGAlmhzn+LsifESZhrVvdf2TgHkAYLOGEhGBTRVnVZr y6Yi7ulaLFTxzTpi6wXyEzexf0fqDw/6/sS+6bzLYWoKEWwuGKt9Xs+xnJPQVMRzQIHd hB/o/B4z36mPt6GB1vQ3R9fmxE2EdckjZRPtRhQx7EV3/x50cEtAEToNvBYBNuxna5wf c12OW+dPTJLV/3bmY9o171z8ThQ4is0D8uiHegNkh7gHRNDI173OjtyVGxLRegMJctxY 4/qmNhL9H08QBfhlpCoVLJ7OLP5LaSu633e4WVVJG0QlhxpkuVVpXUy6ewDeOMz4OXOV puxw== From: Akira Yokosawa Subject: [PATCH -perfbook] defer: Retouch RCUusecases.svg by Inkscape 1.1.1 Message-ID: Date: Thu, 16 Dec 2021 16:59:13 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit To: "Paul E. McKenney" Cc: perfbook@vger.kernel.org, Akira Yokosawa List-ID: Some of texts in the figure are lost when rendered by Inkscape 1.1.1 on Fedora 35. Those texts are placed far left from the viewBox of the figure when opened in Inkscape 1.1.1. This issue is similar to the one resolved by commit 36b07176210d ("defer: Make RCUspacetime.svg compatible with Inkscape 1.0 and later"). Ungroup and adjust x-coordinates of those texts by Inkscape 1.1.1. Resulting SVG is compatible with Inkscape 0.92.x on Ubuntu 18.04 and Ubuntu 20.04 as well as Inkscape >=1.0. Signed-off-by: Akira Yokosawa --- Hi Paul, So I said you are safe as far as you don't rotate texts. Apparently I was wrong! I'm suspecting the cause of the incompatibility is likely related to grouping of texts and doing some operation on the grouped text. In this retouch, I did ungrouping only. So you might need to do proper grouping if you need further edit. Thanks, Akira -- defer/RCUusecases.svg | 1406 +++++++++++++++++++---------------------- 1 file changed, 656 insertions(+), 750 deletions(-) diff --git a/defer/RCUusecases.svg b/defer/RCUusecases.svg index aa2194a7..c6aa105b 100644 --- a/defer/RCUusecases.svg +++ b/defer/RCUusecases.svg @@ -2,20 +2,20 @@ + inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)" + sodipodi:docname="RCUusecases.svg" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> + - - - Publish/Subscribe - - - rcu_assign_pointer() & - + id="g31594-5" + transform="rotate(90,78.974867,87.420426)"> For Linked Structure + id="tspan31224">Publish/Subscribe rcu_dereference() + transform="scale(-1)" + id="text31542-1-4-6" + y="-80.102051" + x="-81.724838" + style="font-style:normal;font-weight:normal;font-size:10.5833px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583" + xml:space="preserve" /> + rcu_assign_pointer() & + + For Linked Structure + rcu_dereference() + - - - Wait for Pre-Existing Things to Finish - - + id="g31594-5-2" + transform="rotate(90,103.43093,144.15563)"> rcu_read_lock() & rcu_read_unlock() - + transform="scale(-1)" + id="text31542-1-3-6" + y="-77.026497" + x="-77.026497" + style="font-style:normal;font-weight:normal;font-size:10.5833px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583" + xml:space="preserve">Wait for Pre-Existing Things to Finish vs. + + rcu_read_lock() & rcu_read_unlock() + + vs. synchronize_rcu() - + - - - Phased State Change - - + id="g31594-5-26" + transform="rotate(90,127.10417,135.05823)"> + Checked state variable - - + id="tspan31224-0">Phased State Change + transform="scale(-1)" + id="text31542-1-4-6-3" + y="-80.102051" + x="-81.724838" + style="font-style:normal;font-weight:normal;font-size:10.5833px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583" + xml:space="preserve" /> + + Checked state variable + + + + - - - Add-Only - - + id="g31594-5-26-8" + transform="rotate(90,104.86281,113.57303)"> List + id="tspan31224-0-3">Add-Only + + List + - - - Type-Safe Memory - - - + id="g31594-5-6" + transform="rotate(90,112.15286,88.054604)"> + Deferred slab reclamation + id="tspan31224-5">Type-Safe Memory + Slab allocator + transform="scale(-1)" + id="text31542-1-4-6-5" + y="-80.102051" + x="-81.724838" + style="font-style:normal;font-weight:normal;font-size:10.5833px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583" + xml:space="preserve" /> + + + Deferred slab reclamation + + Slab allocator + - - - Existence Guarantee - - + id="g31594-5-6-0" + transform="rotate(90,155.7735,126.38362)"> + Linked structure - - + Deferred reclamation + id="tspan31224-5-3">Existence Guarantee + Heap allocator + transform="scale(-1)" + id="text31542-1-4-6-5-3" + y="-80.102051" + x="-81.724838" + style="font-style:normal;font-weight:normal;font-size:10.5833px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583" + xml:space="preserve" /> + + Linked structure + + + Deferred reclamation + + Heap allocator + - - - Delete-Only List - - + id="g31594-5-26-8-3" + transform="rotate(90,177.30471,114.57741)"> - Publish/subscribe - + id="tspan31224-0-3-0">Delete-Only List + + - Publish/subscribe + + - - - Light-Weight Garbage Collector for - - - + id="g31594-5-6-02" + transform="rotate(90,120.18961,64.076738)"> + NBS - Non-Blocking Synchronization (NBS) + id="tspan19157">Light-Weight Garbage Collector for + + + + NBS + Non-Blocking Synchronization (NBS) - - - - + Readers include some sort of snapshot operation - Quasi Multi-Version Consistency Control - + Constraints on readers and writers: - + + + Readers include some sort of snapshot operation + Quasi Multi-Version Consistency Control + + Constraints on readers and writers: + + (1) single object, (2) sequence locks, (3) version number(s), - + (4) Issaquah challenge, and/or (5) many other approaches - - - - - + Readers as individual or bulk unconditional references - Quasi Reference Count - + Optional bridging to per-object lock or reference - + + + + Readers as individual or bulk unconditional references + Quasi Reference Count + + Optional bridging to per-object lock or reference - - - - + Readers as read-held reader-writer lock - Quasi Reader-Writer Lock - + Spatial as well as temporal synchronization - + Optional read-to-write upgrade - + Optional bridging to per-object lock or reference - + Optionally ignore deleted objects - + + + + Readers as read-held reader-writer lock + Quasi Reader-Writer Lock + + Spatial as well as temporal synchronization + + Optional read-to-write upgrade + + Optional bridging to per-object lock or reference + + Optionally ignore deleted objects