This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [parisc-linux] Re: [PATCH] Fix the atomic compare and swap function on hppa
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: "Aurelien Jarno" <aurelien at aurel32 dot net>, libc-ports at sourceware dot org, parisc-linux <parisc-linux at lists dot parisc-linux dot org>
- Date: Tue, 22 May 2007 10:05:11 -0400
- Subject: Re: [parisc-linux] Re: [PATCH] Fix the atomic compare and swap function on hppa
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=hLVgHlJUb5EtsZVNfHU+sZRhtoapkw0OdHK+wdcrrtoes9ZEx6bsyP218ATxJtyW3sBkdmv28/Gk0EZrw5aR2ogRACWUd+q/dBs2xdNLLmh/OPM+ZCFGb5PcbvAGAwsA7PNqeksOZCS0tG4hwg3BzyoTxbkfKLNymIuLRiIjihQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=TD2R1l3mx+1Ltukc9N1KtIGma07TwVSXypJLK5R5tqxp4NSc63vTCOFYlMp2UDex9OeUOwegBAl7j2bsrbbvCo3mmbtRWvD4RveJjUJ1gSH8ziW56z3Y+4K6PNGdh/AOvFU/0RWgznE+48jLtBquS1fl7RfHMDFUVQmZHZfMbJU=
- References: <20070520015215.GA26949@amd64.aurel32.net> <20070520015653.GA22224@amd64.aurel32.net> <119aab440705200822vcfe3dd2ud542783a4ac2c3c8@mail.gmail.com> <4652C3EF.3020905@aurel32.net>
On 5/22/07, Aurelien Jarno <aurelien@aurel32.net> wrote:
Well we still have a problem, the failure occurs less often, but still
sometimes. Apparently it is cause by the kernel returning -EDEADLOCK.
How should that be handled? The same way as -EAGAIN?
No.
The only way you can get -EDEADLOCK back is to build a kernel with
ENABLE_LWS_DEBUG, this is strictly a developer only feature, please do
not enable this.
Please verify that ENABLE_LWS_DEBUG is defined as 0 in:
arch/parisc/kernel/syscall.S:467 #define ENABLE_LWS_DEBUG 0
Cheers,
CArlos.