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

Carlos O'Donell carlos at systemhalted.org
Tue May 22 08:05:11 MDT 2007


On 5/22/07, Aurelien Jarno <aurelien at 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.



More information about the parisc-linux mailing list