All of lore.kernel.org
 help / color / mirror / Atom feed
* bogus barriers in sym53c8xx_2?
@ 2003-08-19 23:49 David Mosberger
  2003-08-20  3:26 ` Matthew Wilcox
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: David Mosberger @ 2003-08-19 23:49 UTC (permalink / raw)
  To: linux-ia64

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.

	--david

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <200308192349.h7JNnrEK017626@napali.hpl.hp.com>]

end of thread, other threads:[~2003-08-21 19:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-19 23:49 bogus barriers in sym53c8xx_2? David Mosberger
2003-08-20  3:26 ` Matthew Wilcox
2003-08-20  3:43 ` Anton Blanchard
2003-08-21 19:34 ` David Mosberger
     [not found] <200308192349.h7JNnrEK017626@napali.hpl.hp.com>
2003-08-20  3:26 ` Matthew Wilcox
2003-08-20  3:43   ` Anton Blanchard
2003-08-21 19:34     ` David Mosberger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.