Re: [PATCH 39 of 39] IB/ipath - use streaming copy in RDMA interrupt handler to reduce packet loss
From: David Miller <davem@davemloft.net>
Date: 2006-06-29 21:52:10
Also in:
lkml
From: David Miller <davem@davemloft.net>
Date: 2006-06-29 21:52:10
Also in:
lkml
From: Bryan O'Sullivan <redacted> Date: Thu, 29 Jun 2006 14:41:30 -0700
+/* + * Copy data. Try not to pollute the dcache with the source data, + * because we won't be reading it again. + */ +#if defined(CONFIG_X86_64) +void *ipath_memcpy_nc(void *dest, const void *src, size_t n); +#else +#define ipath_memcpy_nc(dest, src, n) memcpy(dest, src, n) +#endif
A facility like this doesn't belong in some arbitrary driver layer. It belongs as a generic facility the whole kernel could make use of. Please stop polluting the infiniband drivers with Opteron crap.