lkml.org 
[lkml]   [2009]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2.6.30-rc5] ehea: fix invalid pointer access
Date
Hannes Hering <hannes.hering@linux.vnet.ibm.com> wrote:

> pref = skb_array[x];
> - prefetchw(pref);
> - prefetchw(pref + EHEA_CACHE_LINE);
> + if (pref) {
> + prefetchw(pref);
> + prefetchw(pref + EHEA_CACHE_LINE);

Ummm... Is prefetch() or prefetchw() faulting?

David


\
 
 \ /
  Last update: 2009-05-05 11:49    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site