Thread (12 messages) 12 messages, 6 authors, 1999-01-16

Re: Synchronization [was Re: The Magic Show: kernel_map() disappearing]

From: Alan Cox <hidden>
Date: 1999-01-14 20:52:51

Possibly related (same subject, not in this thread)

 eieio: prevent CPU from reordering/collapsing reads/writes to memory.
        (but otherwise run at full steam!)
Thats what mb() does - its a memory-barrier hence the name - it imposes
strong store ordering properties across it. 
That's why I added the iobarrier() macros (adding _w/_r/_rw on Alan's
request) that are only related to IO synchronization within the same
CPU. Essentially it's just renaming the eieio() macro already used in
many PPC drivers because it's a bad name; Linux/APUS will be sharing
drivers with Linux/m68k where eieio isn't such a helpful name.
Yep.

x86 and most other processors dont have the notion of a store barrier and
an i/o barrier beign different

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help