[Top] [All Lists]

Re: cmpxchg broken in some situation

To: Fuxin Zhang <>
Subject: Re: cmpxchg broken in some situation
From: Ralf Baechle <>
Date: Mon, 1 Oct 2007 16:26:20 +0100
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <>
User-agent: Mutt/1.5.14 (2007-02-12)
On Mon, Oct 01, 2007 at 11:11:17PM +0800, Fuxin Zhang wrote:

> Sorry that it seems not work:
> the kernel oops at sysfs_open_file->sysfs_get_active with unaligned 
> access(last seen exception on screen, no serial console by hand so it 
> may not be the first exception). It is probably caused by 
> "atomic_cmpxchg" there.
> And keep the old kernel using new modules with patched cmpxchg also lead 
> to glxgears die(should be lock problem like before).

Can you look at the disassembly of the generated code?  It should hopefully
be relativly obvious in the disassembly.


<Prev in Thread] Current Thread [Next in Thread>