This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]