[Linux-ia64] pio barriers

Jesse Barnes
2001-12-10T22:47:40Z

I noticed that in asm-ia64/system.h there's a comment that reads:
/*
...
* Note: "mb()" and its variants cannot be used as a fence to order
* accesses to memory mapped I/O registers. For that, mf.a needs to
* be used. However, we don't want to always use mf.a because (a)
* it's (presumably) much slower than mf and (b) mf.a is supported for
* sequential memory pages only.
*/

Is there a macro (e.g. piob() or mmiob()) to wrap mf.a or are users
expected to call it explicitly when they need it? If there is no
macro, I'd like to add one, as I think it will be necessary to
properly support our NUMA platform.

Thanks,
Jesse