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 --- .../Design/Requirements/GPpartitionReaders1.svg | 36 ++++++------- .../Design/Requirements/ReadersPartitionGP1.svg | 62 +++++++++++----------- 2 files changed, 49 insertions(+), 49 deletions(-) (limited to 'Documentation/RCU/Design/Requirements') diff --git a/Documentation/RCU/Design/Requirements/GPpartitionReaders1.svg b/Documentation/RCU/Design/Requirements/GPpartitionReaders1.svg index 4b4014fda770..87851a8fac1e 100644 --- a/Documentation/RCU/Design/Requirements/GPpartitionReaders1.svg +++ b/Documentation/RCU/Design/Requirements/GPpartitionReaders1.svg @@ -88,7 +88,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()