On Apr 24, 2014, at 5:55 PM, Ethan Jackson wrote:
> I think there should be a comment explaining when to use prefetch vs
> prefetch_write. I certainly don't know off the top of my head.
>
I wrote this based on GCC documentation:
/* OVS_PREFETCH() can be used to instruct the CPU to fetch the
I think there should be a comment explaining when to use prefetch vs
prefetch_write. I certainly don't know off the top of my head.
Acked-by: Ethan Jackson
On Fri, Apr 18, 2014 at 12:41 PM, Jarno Rajahalme wrote:
> Define OVS_PREFETCH() and OVS_PREFETCH_WRITE() using builtin prefetch
> for GC
Define OVS_PREFETCH() and OVS_PREFETCH_WRITE() using builtin prefetch
for GCC, and ovs_prefetch_range() for prefetching a range of addresses.
Signed-off-by: Jarno Rajahalme
---
lib/compiler.h |8
lib/util.h | 14 ++
2 files changed, 22 insertions(+)
diff --git a/l