Re: I/O read, write implementation questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 26 Apr 2006, Brent Casavant wrote:

> Note that wmb() is not sufficient for writes, at least on SGI Altix.
> wmb() ensures that the write has issued from the processor, however
> it does not ensure that the I/O device itself has seen the write.
> The mmiowb() is the appropriate call to ensure that the write has
> been seen.

Oh, and lest I confuse anyone, wmb() is sufficient for writes to RAM.
It's only I/O writes for which it is insufficient.

Brent

-- 
Brent Casavant                          All music is folk music.  I ain't
bcasavan@xxxxxxx                        never heard a horse sing a song.
Silicon Graphics, Inc.                    -- Louis Armstrong
-
: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux