Re: Re: [PATCH] Fix the atomic compare and swap function on hppa

"Carlos O'Donell" <[email protected]>
Newsgroups gmane.linux.ports.hppa
Message-ID <[email protected]>
On 5/22/07, Aurelien Jarno <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.