lkml.org 
[lkml]   [2006]   [Mar]   [8]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 9 Mar 2006 15:43:29 +1100
FromPaul Mackerras <>
SubjectRe: [PATCH] Document Linux's memory barriers [try #2]
Jesse Barnes writes:

> So ultimately mmiowb() is the only thing drivers really have to care 
> about on Altix (assuming they do DMA mapping correctly), and the rules 
> for that are fairly simple.  Then they can additionally use 
> read_relaxed() to optimize performance a bit (quite a bit on big 
> systems).

If I can be sure that all the drivers we care about on PPC use mmiowb
correctly, I can reduce or eliminate the barrier in write*, which
would be nice.

Which drivers have been audited to make sure they use mmiowb
correctly?  In particular, has the USB driver been audited?

Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-09 04:50    [W:0.235 / U:0.150 seconds]
©2003-2008 Jasper Spaans