lkml.org 
[lkml]   [2006]   [May]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1 of 53] ipath - fix spinlock recursion bug
On 5/12/06, Bryan O'Sullivan <bos@pathscale.com> wrote:
> The local loopback path for RC can lock the rkey table lock without
> blocking interrupts. The receive interrupt path can then call
> ipath_rkey_ok() and deadlock. Since the lock only protects a 64 bit read,
> the lock isn't needed.
Uhhh, a 64 bit read is not atomic on all architectures. Certainly not i386.

Might want to verify safety of this.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-05-13 03:05    [W:0.471 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site