lkml.org 
[lkml]   [2011]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Kernel crash after using new Intel NIC (igb)
On 5/26/11 3:01 PM, Eric Dumazet wrote:


>> Yeah - using the refcnt seems better than list_empty(), but I'm not sure
>> that your patch addresses the race above.
>
> It does.

True. I can't find any holes in this method and it resolves the "failure
to unlink from unused" case.

Perhaps wrap the while(1) loop into its own primitive in atomic.h or use
an existing primitive?

-Arun



\
 
 \ /
  Last update: 2011-05-27 02:11    [W:0.066 / U:12.032 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site