Discussions of the Parallel Programming book
 help / color / mirror / Atom feed
* [PATCH 0/5] count: Employ new code-snippet scheme (cont.)
@ 2018-10-08  1:40 Akira Yokosawa
  2018-10-08  1:42 ` [PATCH 1/5] count: Employ new scheme for snippet of count_end and count_tstat Akira Yokosawa
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Akira Yokosawa @ 2018-10-08  1:40 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa

Hi Paul,

This is the continuation of changes to snippets in the "count"
chapter.

To help your review of the changes regarding READ_ONCE()/WRITE_ONCE(),
I split the patches to the ones just applying the scheme and
the ones modifying READ_ONCE()/WRITE_ONCE().

Note on patch #3: It fixes the segfault observed in count_tstat.
However, I'm not sure if you want to take it or not. The fail can
be thought of as a Quick Quiz within the Answer to the Quick Quiz.
So keeping it as is would also be reasonable.

        Thanks, Akira
--
Akira Yokosawa (5):
  count: Employ new scheme for snippet of count_end and count_tstat
  count: Fix uses of READ/WRITE_ONCE()s in count_end and count_tstat
  count: Tweak counttorture.h to avoid segfault
  count: Employ new scheme for snippet of count_lim
  count: Fix uses of READ/WRITE_ONCE() in count_lim

 CodeSamples/count/count_end.c    |  53 ++---
 CodeSamples/count/count_lim.c    | 147 +++++++------
 CodeSamples/count/count_tstat.c  |  27 +--
 CodeSamples/count/counttorture.h |  21 +-
 count/count.tex                  | 437 +++++++++++++--------------------------
 5 files changed, 287 insertions(+), 398 deletions(-)

-- 
2.7.4


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

end of thread, other threads:[~2018-10-09 11:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-08  1:40 [PATCH 0/5] count: Employ new code-snippet scheme (cont.) Akira Yokosawa
2018-10-08  1:42 ` [PATCH 1/5] count: Employ new scheme for snippet of count_end and count_tstat Akira Yokosawa
2018-10-08  1:44 ` [PATCH 2/5] count: Fix uses of READ/WRITE_ONCE()s in " Akira Yokosawa
2018-10-08  1:46 ` [PATCH 3/5] count: Tweak counttorture.h to avoid segfault Akira Yokosawa
2018-10-08  1:47 ` [PATCH 4/5] count: Employ new scheme for snippet of count_lim Akira Yokosawa
2018-10-08  1:49 ` [PATCH 5/5] count: Fix uses of READ/WRITE_ONCE() in count_lim Akira Yokosawa
2018-10-08 14:02 ` [PATCH 6/5] count: Fix typo (\lnlbl{} -> \lnref{}) Akira Yokosawa
2018-10-09  3:54 ` [PATCH 0/5] count: Employ new code-snippet scheme (cont.) Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox