[openib-general] [PATCH 39 of 39] IB/ipath - use streaming copy in RDMA interrupt handler to reduce packet loss

David Miller davem at davemloft.net
Thu Jun 29 15:03:19 PDT 2006


From: Bryan O'Sullivan <bos at pathscale.com>
Date: Thu, 29 Jun 2006 14:59:37 -0700

> It could, indeed.  In fact, we had that discussion here before I sent
> this patch in.  It presumably wants to live in lib/, and acquire a more
> generic name.  What name will capture the uncached-read-but-cached-write
> semantics in a useful fashion?  memcpy_nc?

I'm not good with names :-)

Note that there also might be cases where using such a memcpy
variant might be the wrong thing to do.  For example, for a very
tightly coupled CMT cpu implementation which has the memory controller,
L2 cache, PCI controller, etc. all on the same die and the PCI controller
makes use of the L2 cache just like the cpu threads do, using this
kind of memcpy would always be the wrong thing to do.




More information about the general mailing list