Skip to content

count: Employ new code-snippet scheme (cont.)

Akira Yokosawa perfbook 1 version Applied

Status from this message: Queued and pushed, thank you!!!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6count: Employ new scheme for snippet of count_lim_appCodeSamples/count/count_lim_app.c count/count.tex+14 -370 replies
2/6count: Fix uses of READ/WRITE_ONCE() in count_lim_appCodeSamples/count/count_lim_app.c+3 -30 replies
3/6count: Employ new scheme for snippet of count_lim_atomicCodeSamples/count/count_lim_atomic.c count/count.tex+265 -4010 replies
4/6count: Employ new scheme for snippet of count_lim_sigCodeSamples/count/count_lim_sig.c count/count.tex+184 -3590 replies
5/6count: READ/WRITE_ONCE() tweaks for count_lim_sigCodeSamples/count/count_lim_sig.c+11 -100 replies
6/6toolsoftrade: Proofread newly added sectionstoolsoftrade/toolsoftrade.tex+22 -220 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] count: Employ new code-snippet scheme (cont.)

Hi Paul,

count_lim_sig.c was a hard one to review for me regarding the usage of READ_ONCE()/WRITE_ONCE(). Patch #5 is my attempt to add several of them. There might be other combination of racy accesses.

Patches #1--#4 are trivial ones.

Patch #6 is the result of quick review of your recent addition to toolsoftrade. I'm not sure you like the addition of comments "/* BUGGY!!! */" to Lisitngs which look irrelevant to their captions.

Patches #5 and #6 are more likely to need your close look.

Thanks, Akira
--
Akira Yokosawa (6):
count: Employ new scheme for snippet of count_lim_app
count: Fix uses of READ/WRITE_ONCE() in count_lim_app
count: Employ new scheme for snippet of count_lim_atomic
count: Employ new scheme for snippet of count_lim_sig
count: READ/WRITE_ONCE() tweaks for count_lim_sig
toolsoftrade: Proofread newly added sections

 CodeSamples/count/count_lim_app.c    |  17 +-
 CodeSamples/count/count_lim_atomic.c | 209 ++++----
 CodeSamples/count/count_lim_sig.c    | 159 ++++---
 count/count.tex                      | 892 ++++++++++-------------------------
 toolsoftrade/toolsoftrade.tex        |  44 +-
 5 files changed, 494 insertions(+), 827 deletions(-)
Signature · 1 line
2.7.4