-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathperfbook.tex
104 lines (83 loc) · 2.41 KB
/
perfbook.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
\documentclass[10pt,twocolumn]{book}
% standard packages
% A more pleasant font
\usepackage[T1]{fontenc} % use postscript type 1 fonts
\usepackage{textcomp} % use symbols in TS1 encoding
\usepackage{mathptmx,helvet,courier} % use nice, standard fonts for roman, sans and monospace respectively
% Improves the text layout
\usepackage{microtype}
\usepackage{lscape}
\usepackage{epsfig}
\usepackage{subfigure}
% \usepackage{breakurl}
\usepackage{graphicx}
\usepackage{enumerate}
\usepackage{ifthen}
\usepackage{listings}
\lstset{basicstyle=\ttfamily}
% \usepackage[strings]{underscore}
% \usepackage{underscore}
\usepackage[bookmarks=true,bookmarksnumbered=true,pdfborder={0 0 0}]{hyperref}
% custom packages
\usepackage{qqz}
\usepackage{origpub}
\begin{document}
%%HTMLSKIP
\lstset{
literate={\_}{}{0\discretionary{\_}{}{\_}}%
}
%%HTMLNOSKIP
\newcommand{\co}[1]{\lstinline[breaklines=yes,breakatwhitespace=yes]{#1}}
\title{Is Parallel Programming Hard, And, If So, What Can You Do About It?}
\author{
Edited by: \\
\\
Paul E. McKenney \\
Linux Technology Center \\
IBM Beaverton \\
\href{mailto:[email protected]}{[email protected]} \\
} % end author
% \date{\ }
\setcounter{topnumber}{3}
\renewcommand\topfraction{.75}
\setcounter{bottomnumber}{2}
\renewcommand\bottomfraction{.3}
\setcounter{totalnumber}{5}
\renewcommand\textfraction{.15}
\renewcommand\floatpagefraction{.5}
\setcounter{dbltopnumber}{3}
\renewcommand\dbltopfraction{.75}
\renewcommand\dblfloatpagefraction{.5}
\setlength{\textheight}{8.25in}
\setlength{\textwidth}{6.5in}
\setlength{\columnsep}{0.25in}
\newboolean{inbook}
\setboolean{inbook}{true}
\newcommand{\IfInBook}[2]{\ifthenelse{\boolean{inbook}}{#1}{#2}}
\setcounter{secnumdepth}{3}
\frontmatter
\maketitle
\input{legal}
\tableofcontents
\input{preface}
\mainmatter
\input{intro/intro}
\input{cpu/cpu}
\input{toolsoftrade/toolsoftrade}
\input{count/count.tex}
\input{SMPdesign/SMPdesign}
\input{locking/locking.tex}
\input{owned/owned.tex}
\input{defer/defer.tex}
\input{applyrcu/applyrcu.tex}
\input{debugging/debugging}
\input{datastruct/datastruct.tex} % @@@ consider adding as section to SMPdesign
\input{advsync/advsync.tex}
\input{easy/easy.tex}
% \input{memalloc/memalloc.tex} @@@ covered in SMPdesign
\input{future/future.tex}
% @@@ Conclusion/summary or something, along with "use the right tool" cartoon.
\appendix
\input{appendix/appendix.tex}
% Index at some point...
\end{document}