Skip to content

advsync: Use pseudo asm in code sequence

Akira Yokosawa perfbook 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14advsync: Use pseudo asm in sequence in 'Paring' sectionadvsync/memorybarriers.tex+33 -230 replies
2/14advsync: Substitute READ_ONCE()/WRITE_ONCE() for ACCESS_ONCE()advsync/memorybarriers.tex+1 -10 replies
3/14advsync: Use pseudo asm in sequence in 'Review of Locking Impl'advsync/memorybarriers.tex+9 -90 replies
4/14advsync: Backport upstream commits regarding reordering exampleadvsync/memorybarriers.tex+15 -150 replies
5/14advsync: Use pseudo asm in reordering exampleadvsync/memorybarriers.tex+2 -20 replies
6/14advsync: Use pseudo asm in another reordering exampleadvsync/memorybarriers.tex+5 -40 replies
7/14advsync: Avoid indent after minipagesadvsync/memorybarriers.tex+6 -60 replies
8/14advsync: Add footnote to imply necessity of data dependency barrieradvsync/memorybarriers.tex+9 -10 replies
9/14advsync: Use READ_ONCE()/WRITE_ONCE() in sequence of 'Device Operations'advsync/memorybarriers.tex+4 -40 replies
10/14advsync: Use READ_ONCE()/WRITE_ONCE() in sequence in 'Guarantees'advsync/memorybarriers.tex+16 -160 replies
11/14advsync: Rename Section 'Guarantees' to 'Minimal Guarantees'advsync/memorybarriers.tex+4 -30 replies
12/14advsync: Add another footnote implying data dependency barrieradvsync/memorybarriers.tex+3 -10 replies
13/14advsync: Use pseudo asm in sequence in 'Data Dependency Barriers'advsync/memorybarriers.tex+17 -160 replies
14/14advsync: Use pseudo asm in sequence in 'SMP Barrier Pairing'advsync/memorybarriers.tex+50 -500 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/14] advsync: Use pseudo asm in code sequence

From 6efc224d8e6d2b64bf7a86b52d03de01ccea7032 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <[email protected]>
Date: Mon, 17 Apr 2017 06:53:11 +0900
Subject: [PATCH 00/14] advsync: Use pseudo asm in code sequence

Hi Paul,

This series substitutes pseudo-asm codes for C style statements in code sequences in 'Memory Barrier' section.

Other than the substitution, Patch 2 replaces ACCESS_ONCE(), Patch 4 is a backport of the changes made in memory-barriers.txt, Patches 8 and 12 add footnotes to imply the necessity of data dependency barrier, and Patch 11 renames Section "Guarantee" to "Minimal Guarantee".

My guess is that the original intention of the "Guarantee" section was to present minimal guarantees free of memory barriers. When the necessity of read dependency barrier was recognized, the barrier sneaked into this section.

In LaTeX, as footnotes can prevent readers' misunderstanding, We can preserve the original intention.

Thoughts?

Thanks Akira
--
Akira Yokosawa (14):
advsync: Use pseudo asm in sequence in 'Paring' section
advsync: Substitute READ_ONCE()/WRITE_ONCE() for ACCESS_ONCE()
advsync: Use pseudo asm in sequence in 'Review of Locking Impl'
advsync: Backport upstream commits regarding reordering example
advsync: Use pseudo asm in reordering example
advsync: Use pseudo asm in another reordering example
advsync: Avoid indent after minipages
advsync: Add footnote to imply necessity of data dependency barrier
advsync: Use READ_ONCE()/WRITE_ONCE() in sequence of 'Device
Operations'
advsync: Use READ_ONCE()/WRITE_ONCE() in sequence in 'Guarantees'
advsync: Rename Section 'Guarantee' to 'Minimal Guarantee'
advsync: Add another footnote implying data dependency barrier
advsync: Use pseudo asm in sequence in 'Data Dependency Barriers'
advsync: Use pseudo asm in sequence in 'SMP Barrier Pairing'

 advsync/memorybarriers.tex | 321 ++++++++++++++++++++++++---------------------
 1 file changed, 172 insertions(+), 149 deletions(-)
Signature · 1 line
2.7.4