From 5861dad198fee7d99d7940464d72f17c061a427c Mon Sep 17 00:00:00 2001 From: Akira Yokosawa Date: Wed, 3 Nov 2021 08:48:15 +0900 Subject: doc: RCU: Avoid 'Symbol' font-family in SVG figures On Ubuntu Focal, strings in some of SVG files under Documentation/RCU/Design can not be rendered properly when converted to PDF. Ubuntu releases since Focal and Debian bullseye have trouble with "Symbol" font-family in SVG files. As those strings are mostly API names such as "READ_ONCE()", "WRITE_ONCE(), "rcu_read_lock()", and so on, using a generic monospace font-family should be a good alternative. Substitute the font-family name by a simple sed pattern: 's/Symbol/monospace/g' Signed-off-by: Akira Yokosawa Signed-off-by: Paul E. McKenney --- .../RCU/Design/Expedited-Grace-Periods/Funnel0.svg | 4 +- .../RCU/Design/Expedited-Grace-Periods/Funnel1.svg | 4 +- .../RCU/Design/Expedited-Grace-Periods/Funnel2.svg | 4 +- .../RCU/Design/Expedited-Grace-Periods/Funnel3.svg | 4 +- .../RCU/Design/Expedited-Grace-Periods/Funnel4.svg | 4 +- .../RCU/Design/Expedited-Grace-Periods/Funnel5.svg | 4 +- .../RCU/Design/Expedited-Grace-Periods/Funnel6.svg | 4 +- .../RCU/Design/Expedited-Grace-Periods/Funnel7.svg | 4 +- .../RCU/Design/Expedited-Grace-Periods/Funnel8.svg | 4 +- .../Design/Requirements/GPpartitionReaders1.svg | 36 ++++++------- .../Design/Requirements/ReadersPartitionGP1.svg | 62 +++++++++++----------- 11 files changed, 67 insertions(+), 67 deletions(-) (limited to 'Documentation') diff --git a/Documentation/RCU/Design/Expedited-Grace-Periods/Funnel0.svg b/Documentation/RCU/Design/Expedited-Grace-Periods/Funnel0.svg index 98af66557908..16b1ff0ad38c 100644 --- a/Documentation/RCU/Design/Expedited-Grace-Periods/Funnel0.svg +++ b/Documentation/RCU/Design/Expedited-Grace-Periods/Funnel0.svg @@ -116,7 +116,7 @@ WRITE_ONCE(a, 1); WRITE_ONCE(b, 1); r1 = READ_ONCE(a); WRITE_ONCE(c, 1); r2 = READ_ONCE(b); r3 = READ_ONCE(c); thread0() thread1() rcu_read_lock(); rcu_read_lock(); rcu_read_unlock(); WRITE_ONCE(a, 1); WRITE_ONCE(b, 1); r1 = READ_ONCE(a); WRITE_ONCE(c, 1); WRITE_ONCE(d, 1); r2 = READ_ONCE(c); thread0() thread1() rcu_read_lock(); rcu_read_lock(); rcu_read_unlock(); r3 = READ_ONCE(d); QS r4 = READ_ONCE(b); r5 = READ_ONCE(e); rcu_read_lock(); rcu_read_unlock(); thread3()