On Saturday, September 18, 2004 10:57 am, Matthew Wilcox wrote: > On Sat, Sep 18, 2004 at 12:10:01AM -0600, Grant Grundler wrote: > > Jesse Barnes wrote: > > ... > > > > > Btw Andrew (Vasquez), there's a small doc I put together that should > > > describe when you have to worry about PCI posting. It's in the tree: > > > Documentation/io_ordering.txt. If it's incomplete or confusing, just > > > let me know and I'll update it. > > > > Jesse, > > Both. incomplete and confusing. > > "concrete example of a hypothetical driver" wasn't my first warning > > this document needed work. :^) > > Not just incomplete and confusing, but actively wrong. spin_lock/ > spin_unlock should imply ordering of readb(). What you're describing > there is __readb(). See Documentation/DocBook/deviceiobook.tmpl. Also, > rmb() should ensure ordering of io reads; there should be no need to > touch the device. Is this any better? I just sent it off to Grant too. Thanks, Jesse