Possible update candidate in whymb
Hi Paul,
In Appendix C, which you have not updated for a while, there is a statement made in commit bb869fd89bfd ("Add caution about cache coherence and I/O for new-to-SMP architectures") more than a decade ago, which might be an update candidate.
Thoughts?
Thanks, Akira
------
appendix/whymb/whymemorybarriers.tex +1 -1
@@ -1639,7 +1639,7 @@ future such problems: It is my painful duty to inform you that as embedded systems move to multicore architectures, we will no doubt see a fair number of such problems arise. - Hopefully these problems will clear up by the year 2015. + Hopefully these problems will clear up by the year 202x.
Quoted 18 lines · Akira Yokosawa
Hi Paul,
In Appendix C, which you have not updated for a while, there is a statement made in commit
bb869fd89bfd("Add caution about cache coherence and I/O for new-to-SMP architectures") more than a decade ago, which might be an update candidate.Thoughts?
Thanks, Akira
------
appendix/whymb/whymemorybarriers.tex +0
-0
appendix/whymb/whymemorybarriers.tex future such problems: · line 1642
Quoted 5 lines
appendix/whymb/whymemorybarriers.tex +1
-1@@ -1639,7 +1639,7 @@ future such problems: It is my painful duty to inform you that as embedded systems move to multicore architectures, we will no doubt see a fair number of such problems arise. - Hopefully these problems will clear up by the year 2015. + Hopefully these problems will clear up by the year 202x.
Good catch! I queued the commit shown below.
Thanx, Paul
------------------------------------------------------------------------
commit bd77de3dd7a09e189cda3c6da75628da7fbd4d88
Author: Paul E. McKenney <[email protected]> Date: Fri Mar 19 21:06:56 2021 -0700
whymb: Fix outdated date
The year 2015 is no longer in the future.
appendix/whymb/whymemorybarriers.tex +4 -1
@@ -1639,7 +1639,10 @@ future such problems: It is my painful duty to inform you that as embedded systems move to multicore architectures, we will no doubt see a fair number of such problems arise. - Hopefully these problems will clear up by the year 2015. + By the year 2021, there were some efforts to address + these problems with new interconnect standards, with some + debate as to how effective these standards will really + be~\cite{WilliamGWong2019CCIX-CXL}. \item Device interrupts that ignore cache coherence.
Quoted 13 lines · Paul E. McKenney
Quoted 12 lines · Akira Yokosawa
Hi Paul,
In Appendix C, which you have not updated for a while, there is a statement made in commit
bb869fd89bfd("Add caution about cache coherence and I/O for new-to-SMP architectures") more than a decade ago, which might be an update candidate.Thoughts?
Thanks, Akira
Quoted 13 lines
appendix/whymb/whymemorybarriers.tex future such problems: · line 1642
Quoted 11 lines
------
appendix/whymb/whymemorybarriers.tex +1
-1@@ -1639,7 +1639,7 @@ future such problems: It is my painful duty to inform you that as embedded systems move to multicore architectures, we will no doubt see a fair number of such problems arise. - Hopefully these problems will clear up by the year 2015. + Hopefully these problems will clear up by the year 202x.Good catch! I queued the commit shown below.
And while on the topic...
Thanx, Paul
------------------------------------------------------------------------
commit 5a9744a1c0ff1857d954af5558ab6b585aa8f195
Author: Paul E. McKenney <[email protected]> Date: Fri Mar 19 21:26:14 2021 -0700
treewide: Address outdated commentary
SMPdesign/partexercises.tex +1 -1
@@ -597,7 +597,7 @@ is quite similar. suffer (albeit hopefully rarely) from whatever concurrency limitations that these locking solutions suffer from. - Therefore, as of last 2017, all practical solutions to the + Therefore, as of 2021, all practical solutions to the concurrent double-ended queue problem fail to provide full concurrency in at least some circumstances, including the compound double-ended queue.
advsync/rt.tex +2 -2
@@ -1951,8 +1951,8 @@ on \clnrefrange{upd:b}{upd:e}. forbidden in many safety-critical situations, what is with the call to \co{malloc()}??? }\QuickQuizAnswerB{ - In early 2016, situations forbidding runtime memory were - also not at all interested in multithreaded computing. + In early 2016, projects forbidding runtime memory allocation + were also not at all interested in multithreaded computing. So the runtime memory allocation is not an additional obstacle to safety criticality.
count/count.tex +1 -1
@@ -3014,7 +3014,7 @@ operator will not work for you. In the C++ language, you might well be able to use \co{++} on a 1,000-digit number, assuming that you had access to a class implementing such numbers. - But as of 2010, the C language does not permit operator overloading. + But as of 2021, the C language does not permit operator overloading. }\QuickQuizEnd This problem is not specific to arithmetic.
formal/axiomatic.tex +3 -3
@@ -126,8 +126,8 @@ The weaknesses of the herd tool are similar to those of PPCMEM, which were described in Section~\ref{sec:formal:PPCMEM Discussion}. There are some obscure (but very real) cases for which the PPCMEM and -herd tools disagree, and as of late 2014 resolving these disagreements -was ongoing. +herd tools disagree, and as of 2021 many but not all of these disagreements +was resolved. It would be helpful if the litmus tests could be written in C (as in Listing~\ref{lst:formal:Meaning of PPCMEM Litmus Test})
@@ -425,7 +425,7 @@ in the \co{herd} output. }\QuickQuizAnswerE{ \begin{fcvref}[ln:formal:C-RomanPenyaev-list-rcu-rr:whole] That is an excellent question. - As of late 2018, the answer is ``no one knows''. + As of late 2021, the answer is ``no one knows''. Much depends on the semantics of \ARMv8's conditional-move instruction. While awaiting clarity on these semantics, \co{smp_store_release()}
future/formalregress.tex +1 -1
@@ -663,7 +663,7 @@ so they are all yellow with question marks. Perhaps in geologic time. But if your code is running on 20~billion systems, - like the Linux kernel was said to in late 2017, + like the Linux kernel was said to be by late 2017, Murphy can be a real jerk! Everything that can go wrong, will, and it can go wrong really quickly!!!
future/htm.tex +1 -1
@@ -814,7 +814,7 @@ the cache misses associated with the lock variable, which has resulted in tens of percent performance increases in large real-world software systems as of early 2015. We can therefore expect to see substantial use of this technique on -hardware supporting it. +hardware providing reliable support for it. \QuickQuiz{ So a bunch of people set out to supplant locking, and they
howto/howto.tex +1 -2
@@ -248,8 +248,7 @@ Here are a few possible strategies: of understanding. \end{enumerate} -Note that as of mid-2016 the quick quizzes are hyperlinked -to the answers and vice versa. +Note that the quick quizzes are hyperlinked to the answers and vice versa. Click either the ``Quick Quiz'' heading or the small black square to move to the beginning of the answer. From the answer, click on the heading or the small black square to
toolsoftrade/toolsoftrade.tex +1 -1
@@ -1077,7 +1077,7 @@ intrinsic \apialtg{__atomic_store_n(&x, v, __ATOMIC_RELAXED)}{__atomic_store_n() \QuickQuiz{ What happened to \apikh{ACCESS_ONCE()}? }\QuickQuizAnswer{ - As of early 2018, the Linux kernel's \apikh{ACCESS_ONCE()} is being + In the 2018 v4.15 release, the Linux kernel's \apikh{ACCESS_ONCE()} was replaced by \apik{READ_ONCE()} and \apik{WRITE_ONCE()} for reads and writes, respectively~\cite{JonCorbet2012ACCESS:ONCE, JonathanCorbet2014ACCESS:ONCEcompilerBugs,