Thread (2 messages) 2 messages, 2 authors, 2021-10-01

Re: [RFC PATCH] LKMM: Add ctrl_dep() macro for control dependency

flat view

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2021-10-01 16:36:14
Also in: linux-arch, lkml

On Fri, Oct 1, 2021 at 9:26 AM Florian Weimer [off-list ref] wrote:
Will any conditional branch do, or is it necessary that it depends in
some way on the data read?
The condition needs to be dependent on the read.

(Easy way to see it: if the read isn't related to the conditional or
write data/address, the read could just be delayed to after the
condition and the store had been done).

               Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help