[openib-general] [PATCH] use mmiowb after doorbell ring
akepner at sgi.com
akepner at sgi.com
Mon Oct 16 12:17:12 PDT 2006
On Mon, 16 Oct 2006, Roland Dreier wrote:
>
> Would it be cleaner just to put an mmiowb() inside update_cons_index()
> in the case where the doorbell gets rung? That way there's no
> unnecessary mmiowb() in the memfree case (which doesn't use a doorbell
> or do any writing to PCI at all).
>
On second (or eighth, or whatever) look, yeah, that's better
and simpler, too. I'll repost a fixed up version.
--
Arthur
More information about the general
mailing list