All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -perfbook] future/htm: Remove ref to Tabel 17.3 in QQ
@ 2021-07-02  1:52 Akira Yokosawa
  2021-07-02  3:45 ` Paul E. McKenney
  0 siblings, 1 reply; 2+ messages in thread
From: Akira Yokosawa @ 2021-07-02  1:52 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa

Table 17.3 is not available in EBook-size builds.
For compatibility, remove reference to the combined table in Quick
Quiz added in commit 279c38a988f9 ("future/htm: Add some HTM
hardware-reliability anecdotes").

Fixes: 279c38a988f9 ("future/htm: Add some HTM hardware-reliability anecdotes")
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
Hi Paul,

Current master fails to build "eb".
I think reference to Table 17.3 is not essential to the Quick Quiz
and just removed it.
If you think otherwise, it can be made conditional by \IfEbookSize{}{}.

        Thanks, Akira

PS: As for hardware implementation of transactional memory,
Power ISA v3.1 deprecated it [1].
It might be worth mentioning it in the Answer to the QQ.
In the post specter world, it looks like almost impossible for hardware
designers to come up with a secure implementation of HTM...

[1]: Appendix A of Power ISA v3.1 at
    https://ibm.ent.box.com/s/hhjfw0x0lrbtyzmiaffnbxh2fuo0fog0
--
 future/htm.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/future/htm.tex b/future/htm.tex
index abc80daf..3ff9bf24 100644
--- a/future/htm.tex
+++ b/future/htm.tex
@@ -917,7 +917,7 @@ tab:future:Comparison of Locking (Augmented by RCU or Hazard Pointers) and HTM}.
 }
 
 \QuickQuiz{
-	\Cref{tab:future:Comparison of Locking and HTM,tab:future:Comparison of Locking (Plain and Augmented) and HTM,tab:future:Comparison of Locking (Augmented by RCU or Hazard Pointers) and HTM}
+	\Cref{tab:future:Comparison of Locking and HTM,tab:future:Comparison of Locking (Augmented by RCU or Hazard Pointers) and HTM}
 	state that hardware is only starting to become available.
 	But hasn't HTM hardware support been widely available
 	for almost a full decade?
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -perfbook] future/htm: Remove ref to Tabel 17.3 in QQ
  2021-07-02  1:52 [PATCH -perfbook] future/htm: Remove ref to Tabel 17.3 in QQ Akira Yokosawa
@ 2021-07-02  3:45 ` Paul E. McKenney
  0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2021-07-02  3:45 UTC (permalink / raw)
  To: Akira Yokosawa; +Cc: perfbook

On Fri, Jul 02, 2021 at 10:52:21AM +0900, Akira Yokosawa wrote:
> Table 17.3 is not available in EBook-size builds.
> For compatibility, remove reference to the combined table in Quick
> Quiz added in commit 279c38a988f9 ("future/htm: Add some HTM
> hardware-reliability anecdotes").
> 
> Fixes: 279c38a988f9 ("future/htm: Add some HTM hardware-reliability anecdotes")
> Signed-off-by: Akira Yokosawa <akiyks@gmail.com>

Good catch, queued and pushed, thank you!

> ---
> Hi Paul,
> 
> Current master fails to build "eb".
> I think reference to Table 17.3 is not essential to the Quick Quiz
> and just removed it.
> If you think otherwise, it can be made conditional by \IfEbookSize{}{}.
> 
>         Thanks, Akira
> 
> PS: As for hardware implementation of transactional memory,
> Power ISA v3.1 deprecated it [1].
> It might be worth mentioning it in the Answer to the QQ.
> In the post specter world, it looks like almost impossible for hardware
> designers to come up with a secure implementation of HTM...
> 
> [1]: Appendix A of Power ISA v3.1 at
>     https://ibm.ent.box.com/s/hhjfw0x0lrbtyzmiaffnbxh2fuo0fog0

Thank you for bringing this to my attention!  I have added it in
with your Suggested-by.

							Thanx, Paul

> --
>  future/htm.tex | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/future/htm.tex b/future/htm.tex
> index abc80daf..3ff9bf24 100644
> --- a/future/htm.tex
> +++ b/future/htm.tex
> @@ -917,7 +917,7 @@ tab:future:Comparison of Locking (Augmented by RCU or Hazard Pointers) and HTM}.
>  }
>  
>  \QuickQuiz{
> -	\Cref{tab:future:Comparison of Locking and HTM,tab:future:Comparison of Locking (Plain and Augmented) and HTM,tab:future:Comparison of Locking (Augmented by RCU or Hazard Pointers) and HTM}
> +	\Cref{tab:future:Comparison of Locking and HTM,tab:future:Comparison of Locking (Augmented by RCU or Hazard Pointers) and HTM}
>  	state that hardware is only starting to become available.
>  	But hasn't HTM hardware support been widely available
>  	for almost a full decade?
> -- 
> 2.17.1
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-02  3:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-02  1:52 [PATCH -perfbook] future/htm: Remove ref to Tabel 17.3 in QQ Akira Yokosawa
2021-07-02  3:45 ` Paul E. McKenney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.