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    [W:1.110 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site