All of lore.kernel.org
 help / color / mirror / Atom feed
From: Akira Yokosawa <akiyks@gmail.com>
To: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Cc: perfbook@vger.kernel.org, Akira Yokosawa <akiyks@gmail.com>
Subject: [PATCH 2/3] Remove trademark and registered symbols in text
Date: Sat, 21 Oct 2017 09:09:20 +0900	[thread overview]
Message-ID: <5b6d6358-4cc2-12bf-14a6-66a00acbe2c2@gmail.com> (raw)
In-Reply-To: <6d7b64ad-0a50-74f9-cae4-5800334e5569@gmail.com>

From 75d006892f834a75f6901d666d0276722ce276f5 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Sat, 21 Oct 2017 08:25:47 +0900
Subject: [PATCH 2/3] Remove trademark and registered symbols in text

The Legal page should have covered these trade marks.

Instead of removing the macros, substitute custom macros for them.
When a part of the text will be exported as a separate document,
these macros can be defined to output actual symbols as are shown
in comment in perfbook.tex.

Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
 SMPdesign/beyond.tex      | 4 ++--
 datastruct/datastruct.tex | 4 ++--
 memorder/memorder.tex     | 4 ++--
 perfbook.tex              | 4 ++++
 4 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/SMPdesign/beyond.tex b/SMPdesign/beyond.tex
index 65f2518..72862c5 100644
--- a/SMPdesign/beyond.tex
+++ b/SMPdesign/beyond.tex
@@ -195,7 +195,7 @@ Lines~8-9 of this listing must use fetch-and-add to arbitrate concurrent
 attempts to record cells in the \co{->visited[]} array.

 This approach does provide significant speedups on a dual-CPU
-Lenovo\textsuperscript\texttrademark W500
+Lenovo\mytexttrademark\ W500
 running at 2.53\,GHz, as shown in
 Figure~\ref{fig:SMPdesign:CDF of Solution Times For SEQ and PWQ},
 which shows the cumulative distribution functions (CDFs) for the solution
@@ -575,7 +575,7 @@ the solution line.
 This disappointing performance compared to results in
 Figure~\ref{fig:SMPdesign:Varying Maze Size vs. COPART}
 is due to the less-tightly integrated hardware available in the
-larger and older Xeon\textsuperscript\textregistered
+larger and older Xeon\mytextregistered\
 system running at 2.66\,GHz.

 \subsection{Future Directions and Conclusions}
diff --git a/datastruct/datastruct.tex b/datastruct/datastruct.tex
index e6c3f17..c5038b6 100644
--- a/datastruct/datastruct.tex
+++ b/datastruct/datastruct.tex
@@ -394,8 +394,8 @@ The \co{hashtab_free()} function on lines~20-23 is straightforward.
 \end{figure}

 The performance results for an eight-CPU 2\,GHz
-Intel\textsuperscript\textregistered
-Xeon\textsuperscript\textregistered
+Intel\mytextregistered\
+Xeon\mytextregistered\
 system using a bucket-locked hash table with 1024 buckets are shown in
 Figure~\ref{fig:datastruct:Read-Only Hash-Table Performance For Schroedinger's Zoo}.
 The performance does scale nearly linearly, but is not much more than half
diff --git a/memorder/memorder.tex b/memorder/memorder.tex
index 752e321..bd3af16 100644
--- a/memorder/memorder.tex
+++ b/memorder/memorder.tex
@@ -4408,7 +4408,7 @@ barrier.
 \subsection{\Power{} / PowerPC}
 \label{sec:memorder:POWER / PowerPC}

-The \Power{} and PowerPC\textsuperscript{\textregistered}
+The \Power{} and PowerPC\mytextregistered\
 CPU families have a wide variety of memory-barrier
 instructions~\cite{PowerPC94,MichaelLyons05a}:
 \begin{description}
@@ -4623,7 +4623,7 @@ it~\cite[Section 8.1.3]{Intel64IA32v3A2011}.

 \subsection{z Systems}

-The z~Systems machines make up the IBM\textsuperscript{\texttrademark}
+The z~Systems machines make up the IBM\mytexttrademark\
 mainframe family, previously
 known as the 360, 370, 390 and zSeries~\cite{IBMzSeries04a}.
 Parallelism came late to z~Systems, but given that these mainframes first
diff --git a/perfbook.tex b/perfbook.tex
index 049f028..1c23b3a 100644
--- a/perfbook.tex
+++ b/perfbook.tex
@@ -146,6 +146,10 @@
 %\newcommand{\GCC}{\co{gcc}} % For those who prefer "gcc"
 \newcommand{\IRQ}{IRQ}
 %\newcommand{\IRQ}{irq}      % For those who prefer "irq"
+\newcommand{\mytexttrademark}{}
+\newcommand{\mytextregistered}{}
+%\newcommand{\mytexttrademark}{\textsuperscript\texttrademark}
+%\newcommand{\mytextregistered}{\textsuperscript\textregistered}

 \newcommand{\Epigraph}[2]{\epigraphhead[65]{\rmfamily\epigraph{#1}{#2}}}

-- 
2.7.4



  reply	other threads:[~2017-10-21  0:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-21  0:07 [PATCH 1/3] debugging: Use \ln for natural logarithm in Eq E.9 Akira Yokosawa
2017-10-21  0:09 ` Akira Yokosawa [this message]
2017-10-21  0:10 ` [PATCH 3/3] toolsoftrade: Adjust wording on age of POWER5 Akira Yokosawa
2017-10-21  0:26 ` [PATCH 1/3] debugging: Use \ln for natural logarithm in Eq E.9 Paul E. McKenney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5b6d6358-4cc2-12bf-14a6-66a00acbe2c2@gmail.com \
    --to=akiyks@gmail.com \
    --cc=paulmck@linux.vnet.ibm.com \
    --cc=perfbook@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.