Messages in this thread | | | Subject | Re: [PATCH] Define wc_wmb, a write barrier for PCI write combining | From | Bryan O'Sullivan <> | Date | Tue, 28 Feb 2006 11:44:51 -0800 |
| |
On Tue, 2006-02-28 at 20:33 +0100, Andi Kleen wrote:
> Are you sure you used the right instruction? Normally CLFLUSH is used > for such things, not a write barrier which really only changes ordering.
Hmm. It's possible we're just getting lucky because another write happens somewhere else soon after the last write we perform as part of a packet send. Perhaps, for complete correctness, we should be using CLFLUSH instead of the last barrier. I'll have to look into this.
Thanks,
<b
- 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/
| |