Re: [PATCH] Document Linux's memory barriers [try #4]
From: Alan Cox
Date: Thu Mar 09 2006 - 19:45:58 EST
On Fri, Mar 10, 2006 at 10:34:53AM +1100, Paul Mackerras wrote:
> MMIO accesses are done under a spinlock, and that if your driver is
> missing them then that is a bug. I don't think it makes sense to say
> that mmiowb is required "on some systems".
Agreed. But if it is missing it may not be a bug. It depends what the lock
actually protects.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/