All of lore.kernel.org
 help / color / mirror / Atom feed
* Typos in perfbook section 5.6 and table 9.7
@ 2014-10-09 13:47 Motohiro Kanda
  2014-10-12 13:10 ` Paul E. McKenney
  0 siblings, 1 reply; 2+ messages in thread
From: Motohiro Kanda @ 2014-10-09 13:47 UTC (permalink / raw)
  To: perfbook

Hi,

I enjoy the book so much and am making a Japanese translation here.
https://sites.google.com/site/kandamotohiro/perfbook

I think I have found 2 typos in perfbook. Latest git repo also has these bugs.

5.6 Parallel Counting Discussion
on page 82, in file count.tex says,

"The per-thread
variable implementation (count_stat.c) is significantly faster on updates than
the array-based implementation (count_end.c), but is slower at reads"

But it should read

per-thread variable implementation(count_end.c)
and
array-based implementation (count_stat.c)

And according to table 5.1,
array-based implementation has 408 ns vs.
per-thread variable implementation has 389 ns.

so, per-thread variable implementation is a little faster, not slower
at 1 core read.



Table 9.7  Which Deferred Technique to Choose?
on page 228 in file whichtochoose.tex says,

Sequence Locks has "Y" on Updates and Readers Progress Concurrently

But it should be N because on page 229, it says

sequence locking does not permit updates and readers to make forward
progress concurrently

--
Kanda Motohiro

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-10-12 13:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-09 13:47 Typos in perfbook section 5.6 and table 9.7 Motohiro Kanda
2014-10-12 13:10 ` 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.