On Mon, Feb 14, 2022 at 03:12:29AM +0100, Joerg Sonnenberger wrote:
 > Am Mon, Feb 14, 2022 at 02:01:13AM +0000 schrieb David Holland:
 > > In this case I would argue that the names should be membar_load_any()
 > > and membar_any_store().
 > 
 > Kind of like with the BUSDMA_* flags, it is not clear from that name in
 > which direction they work either. As in: is it a barrier that stops the
 > next load? Is it a barrier that ensures that a store is visible?

Given that English is left-to-right, and that memory barriers are
about ordering memory operations, it seems a lot clearer than "enter".

-- 
David A. Holland
dholl...@netbsd.org

Reply via email to