bogus barriers in sym53c8xx_2?

From: David Mosberger <>
Date: 2003-08-20 09:49:53
In drivers/scsi/sym53c8xx_2/sym_misc.h we find:

#elif	defined	__ia64__
#define __READ_BARRIER()	__asm__ volatile("mf.a; mf" : : : "memory")
#define __WRITE_BARRIER()	__asm__ volatile("mf.a; mf" : : : "memory")

based on the comments and the other implementations, these barriers
are bogus and the "mf.a" should be dropped.

Anyone know who wrote this code originally and why the mf.a was added?

mf.a is very slow and should be avoided except were truly needed.

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Tue Aug 19 20:21:03 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:16 EST