memorder: fix a typo in answer to QQ 15.33
In answer to Quick Quiz 15.33, update() here should be updater().
Signed-off-by Zhouyi Zhou <[email protected]>
---
Hi Paul,
In answer to Quick Quiz 15.33, update() here should be updater(). By the way, I tried to follow Akira's patch as an example to make a good looking patch ;-)
Thanks Zhouyi
--
memorder/memorder.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
memorder/memorder.tex +1 -1
@@ -2830,7 +2830,7 @@ instead of the expected value 144. not order later loads, only later stores. If you really need ordering, you could place an \co{smp_rmb()} between \clnref{equ,pc}. - Or better yet, have \co{update()} + Or better yet, have \co{updater()} allocate two structures instead of reusing the structure. For more information, see \cref{sec:memorder:Control-Dependency Calamities}.
Signature · 1 line
2.25.1
Quoted 9 lines · Zhouyi Zhou
In answer to Quick Quiz 15.33,
update()here should beupdater().Signed-off-by Zhouyi Zhou <[email protected]>---
Hi Paul,In answer to Quick Quiz 15.33,
update()here should beupdater(). By the way, I tried to follow Akira's patch as an example to make a good looking patch ;-)
Good eyes, and the patch does look good, thank you! Queued and pushed.
Thanx, Paul
Quoted 21 lines
Thanks Zhouyi
--memorder/memorder.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)memorder/memorder.tex +1
-1@@ -2830,7 +2830,7 @@ instead of the expected value 144. not order later loads, only later stores. If you really need ordering, you could place an \co{smp_rmb()} between \clnref{equ,pc}. - Or better yet, have \co{update()} + Or better yet, have \co{updater()} allocate two structures instead of reusing the structure. For more information, see \cref{sec:memorder:Control-Dependency Calamities}.Signature · 1 line
2.25.1