honk login

one honk maybe more

avatar

tedu honked 11 May 2019 14:35 https://honk.tedunangst.com/u/tedu/h/2P9kvyw58khS719Qs4
convoy: data:,electrichonkytonk-7jk176T1dnLH4B746c

A patch of grotesque beauty. Some gem comments.


+ * Run a transaction which would only trigger xabort if the condition
+ * is true. This xabort is counted by the PMU and will trigger an
+ * interrupt. The conditional move prevents speculative evaluation of
+ * the condition. The branch would not mistakenly be mispredicted later
+ * to run xabort again, since we run IBPB in the nmi handler.


https://lore.kernel.org/lkml/d204035e-6cf7-e7cb-85d2-cebf42d75852@infradead.org/T/