• Will Deacon's avatar
    docs/memory-barriers.txt: Rewrite "KERNEL I/O BARRIER EFFECTS" section · 4614bbde
    Will Deacon authored
    The "KERNEL I/O BARRIER EFFECTS" section of memory-barriers.txt is vague,
    x86-centric, out-of-date, incomplete and demonstrably incorrect in places.
    This is largely because I/O ordering is a horrible can of worms, but also
    because the document has stagnated as our understanding has evolved.
    
    Attempt to address some of that, by rewriting the section based on
    recent(-ish) discussions with Arnd, BenH and others. Maybe one day we'll
    find a way to formalise this stuff, but for now let's at least try to
    make the English easier to understand.
    
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Michael Ellerman <mpe@ellerman.id.au>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Andrea Parri <andrea.parri@amarulasolutions.com>
    Cc: Palmer Dabbelt <palmer@sifive.com>
    Cc: Daniel Lustig <dlustig@nvidia.com>
    Cc: David Howells <dhowells@redhat.com>
    Cc: Alan Stern <stern@rowland.harvard.edu>
    Cc: "Maciej W. Rozycki" <macro@linux-mips.org>
    Cc: Mikulas Patocka <mpatocka@redhat.com>
    Acked-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    Reviewed-by: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
    Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
    4614bbde
memory-barriers.txt 116 KB