Roland Mainz wrote:
> 
> Why do both interfaces do not have a |length| operand ? Some
> CPUs/architecturs allow to define a memory range (rounded up to the CPUs
> block size) to be pre-fetched...
> 

Roland,

   The intention is to keep things simple. In case it was not apparent 
from my submission, the intention of the inlines is to pre-fetch single 
cache lines. Also, neither SPARC nor x86 have single prefetch 
instructions to fetch multiple cache lines so a length argument would be 
extraneous at this point. Remember that these interface are intended to 
be undocumented and unstable so any future changes that aid performance 
would be welcome.

   Paul


-- 
==============================
Paul Durrant
Senior Staff Engineer
Solarflare Communications Inc.
==============================

Reply via email to