This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: Coldfire __lll_lock fails under heavy system stress
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Ed Slas <ed_slas at yahoo dot com>
- Cc: "libc-ports at sourceware dot org" <libc-ports at sourceware dot org>
- Date: Wed, 31 Oct 2012 20:43:02 +0000
- Subject: Re: Coldfire __lll_lock fails under heavy system stress
- References: <1351715016.75654.YahooMailNeo@web161606.mail.bf1.yahoo.com>
On Wed, 31 Oct 2012, Ed Slas wrote:
> I rarely delve this low into the code, so I cannot explain why this
> implementation fails, but it is very suspicious that the kernel (2.6.38)
> interrupt handler repositions the PC if it sees the PC at interrupt was
> in atomic_cmpxchg_32().
Given what you have described, there is no evidence for a bug in glibc
rather than the kernel (and so no evidence that the problem you see should
be fixed in glibc rather than the kernel).
--
Joseph S. Myers
joseph@codesourcery.com