Re: [PATCH 39 of 39] IB/ipath - use streaming copy in RDMAinterrupt handler to reduce packet loss

From: David Miller
Date: Thu Jun 29 2006 - 17:51:23 EST


From: Bryan O'Sullivan <bos@xxxxxxxxxxxxx>
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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/