* [PATCH] Fix svg in chapter7: change incorrect "Lock B" in `qsort` to "Lock C".
@ 2021-12-31 9:29 Xuwei FU
2022-01-01 5:59 ` Paul E. McKenney
0 siblings, 1 reply; 2+ messages in thread
From: Xuwei FU @ 2021-12-31 9:29 UTC (permalink / raw)
To: paulmck; +Cc: Xuwei Fu, perfbook
From: Xuwei Fu <maplewish117@gmail.com>
Signed-off-by: Xuwei Fu <maplewish117@gmail.com>
---
Hi, paul.
In Chapter7's "Local Locking Hierarchies",
the "Lock B" in `qsort` is confusing, qsort
should acquire "Lock C" rather than "Lock B".
In this patch, "Lock B" in `qsort` in svg is
changed to "Lock C".
Thanks, Xuwei
--
locking/LayeredLockHierarchy.svg | 2 +-
locking/LocalLockHierarchy.svg | 2 +-
locking/NoLockHierarchy.svg | 2 +-
locking/NonLocalLockHierarchy.svg | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/locking/LayeredLockHierarchy.svg b/locking/LayeredLockHierarchy.svg
index 05f0682f..49773940 100644
--- a/locking/LayeredLockHierarchy.svg
+++ b/locking/LayeredLockHierarchy.svg
@@ -334,7 +334,7 @@
id="tspan3715-6-2-5"
x="42.601532"
y="70.638107"
- style="font-size:4.93888903px;stroke-width:0.26458332">Lock B</tspan></text>
+ style="font-size:4.93888903px;stroke-width:0.26458332">Lock C</tspan></text>
</g>
<text
id="text3717-3-7-3-9"
diff --git a/locking/LocalLockHierarchy.svg b/locking/LocalLockHierarchy.svg
index e4100879..bbe3bc92 100644
--- a/locking/LocalLockHierarchy.svg
+++ b/locking/LocalLockHierarchy.svg
@@ -321,7 +321,7 @@
id="tspan3715-6-2-5"
x="42.601532"
y="70.638107"
- style="font-size:4.93888903px;stroke-width:0.26458332">Lock B</tspan></text>
+ style="font-size:4.93888903px;stroke-width:0.26458332">Lock C</tspan></text>
</g>
<text
id="text3717-3-7-3-9"
diff --git a/locking/NoLockHierarchy.svg b/locking/NoLockHierarchy.svg
index f892037d..7479ee62 100644
--- a/locking/NoLockHierarchy.svg
+++ b/locking/NoLockHierarchy.svg
@@ -298,7 +298,7 @@
id="tspan3715-6-2-5"
x="42.601532"
y="70.638107"
- style="font-size:4.93888903px;stroke-width:0.26458332">Lock B</tspan></text>
+ style="font-size:4.93888903px;stroke-width:0.26458332">Lock C</tspan></text>
</g>
<text
id="text3717-3-7-3-9"
diff --git a/locking/NonLocalLockHierarchy.svg b/locking/NonLocalLockHierarchy.svg
index 264f6f14..fb686d23 100644
--- a/locking/NonLocalLockHierarchy.svg
+++ b/locking/NonLocalLockHierarchy.svg
@@ -321,7 +321,7 @@
id="tspan3715-6-2-5"
x="42.601532"
y="70.638107"
- style="font-size:4.93888903px;stroke-width:0.26458332">Lock B</tspan></text>
+ style="font-size:4.93888903px;stroke-width:0.26458332">Lock C</tspan></text>
</g>
<text
id="text3717-3-7-3-9"
--
2.27.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix svg in chapter7: change incorrect "Lock B" in `qsort` to "Lock C".
2021-12-31 9:29 [PATCH] Fix svg in chapter7: change incorrect "Lock B" in `qsort` to "Lock C" Xuwei FU
@ 2022-01-01 5:59 ` Paul E. McKenney
0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2022-01-01 5:59 UTC (permalink / raw)
To: Xuwei FU; +Cc: perfbook
On Fri, Dec 31, 2021 at 05:29:38PM +0800, Xuwei FU wrote:
> From: Xuwei Fu <maplewish117@gmail.com>
>
> Signed-off-by: Xuwei Fu <maplewish117@gmail.com>
Good eyes, applied and pushed, thank you!
Thanx, Paul
> ---
>
> Hi, paul.
>
> In Chapter7's "Local Locking Hierarchies",
> the "Lock B" in `qsort` is confusing, qsort
> should acquire "Lock C" rather than "Lock B".
>
> In this patch, "Lock B" in `qsort` in svg is
> changed to "Lock C".
>
> Thanks, Xuwei
>
> --
> locking/LayeredLockHierarchy.svg | 2 +-
> locking/LocalLockHierarchy.svg | 2 +-
> locking/NoLockHierarchy.svg | 2 +-
> locking/NonLocalLockHierarchy.svg | 2 +-
> 4 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/locking/LayeredLockHierarchy.svg b/locking/LayeredLockHierarchy.svg
> index 05f0682f..49773940 100644
> --- a/locking/LayeredLockHierarchy.svg
> +++ b/locking/LayeredLockHierarchy.svg
> @@ -334,7 +334,7 @@
> id="tspan3715-6-2-5"
> x="42.601532"
> y="70.638107"
> - style="font-size:4.93888903px;stroke-width:0.26458332">Lock B</tspan></text>
> + style="font-size:4.93888903px;stroke-width:0.26458332">Lock C</tspan></text>
> </g>
> <text
> id="text3717-3-7-3-9"
> diff --git a/locking/LocalLockHierarchy.svg b/locking/LocalLockHierarchy.svg
> index e4100879..bbe3bc92 100644
> --- a/locking/LocalLockHierarchy.svg
> +++ b/locking/LocalLockHierarchy.svg
> @@ -321,7 +321,7 @@
> id="tspan3715-6-2-5"
> x="42.601532"
> y="70.638107"
> - style="font-size:4.93888903px;stroke-width:0.26458332">Lock B</tspan></text>
> + style="font-size:4.93888903px;stroke-width:0.26458332">Lock C</tspan></text>
> </g>
> <text
> id="text3717-3-7-3-9"
> diff --git a/locking/NoLockHierarchy.svg b/locking/NoLockHierarchy.svg
> index f892037d..7479ee62 100644
> --- a/locking/NoLockHierarchy.svg
> +++ b/locking/NoLockHierarchy.svg
> @@ -298,7 +298,7 @@
> id="tspan3715-6-2-5"
> x="42.601532"
> y="70.638107"
> - style="font-size:4.93888903px;stroke-width:0.26458332">Lock B</tspan></text>
> + style="font-size:4.93888903px;stroke-width:0.26458332">Lock C</tspan></text>
> </g>
> <text
> id="text3717-3-7-3-9"
> diff --git a/locking/NonLocalLockHierarchy.svg b/locking/NonLocalLockHierarchy.svg
> index 264f6f14..fb686d23 100644
> --- a/locking/NonLocalLockHierarchy.svg
> +++ b/locking/NonLocalLockHierarchy.svg
> @@ -321,7 +321,7 @@
> id="tspan3715-6-2-5"
> x="42.601532"
> y="70.638107"
> - style="font-size:4.93888903px;stroke-width:0.26458332">Lock B</tspan></text>
> + style="font-size:4.93888903px;stroke-width:0.26458332">Lock C</tspan></text>
> </g>
> <text
> id="text3717-3-7-3-9"
> --
> 2.27.0
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-01 5:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-31 9:29 [PATCH] Fix svg in chapter7: change incorrect "Lock B" in `qsort` to "Lock C" Xuwei FU
2022-01-01 5:59 ` Paul E. McKenney
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.