Re: [PATCH 1 of 53] ipath - fix spinlock recursion bug

From: Joshua Hudson
Date: Fri May 12 2006 - 21:07:32 EST


On 5/12/06, Bryan O'Sullivan <bos@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/