Skip to content

locking: Update code snippets

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 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3locking: Employ new snippet schemeCodeSamples/locking/locked_list.c CodeSamples/locking/xchglock.c locking/locking-existence.tex +1 more+292 -3360 replies
2/3locking: Get rid of ACCESS_ONCE()CodeSamples/locking/xchglock.c locking/locking.tex+10 -100 replies
3/3locking: Fix reference to code snippet by "figure"locking/locking-existence.tex+2 -20 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/3] locking: Update code snippets

From 0d7e7b86bf743ee1646b705f246bc50e38d23803 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <[email protected]>
Date: Tue, 20 Nov 2018 00:03:43 +0900
Subject: [PATCH 0/3] locking: Update code snippets

Hi Paul,

This is another set of patches to apply new code-snippet scheme in Chapter 7.

Patch #1 does the simple substitutions.

Patch #2 replaces remaining ACCESS_ONCE()s in Chapter 7 and CodeSamples/locking. It also adds a couple of READ_ONCE() and WRITE_ONCE() in xchglock.c.

Patch #3 fixes the use of "figure" referencing code snippets.

Thanks, Akira
--
Akira Yokosawa (3):
locking: Employ new snippet scheme
locking: Get rid of ACCESS_ONCE()
locking: Fix reference to code snippet by "figure"

 CodeSamples/locking/locked_list.c |  29 ++-
 CodeSamples/locking/xchglock.c    |  32 +--
 locking/locking-existence.tex     | 108 ++++-----
 locking/locking.tex               | 473 +++++++++++++++++---------------------
 4 files changed, 299 insertions(+), 343 deletions(-)
Signature · 1 line
2.7.4