Re: [PATCH] tst-cond16 fix - NPTL part

Jakub Jelinek <[email protected]> Fri, 21 May 2004 03:55:48 -0400
Newsgroups gmane.comp.lib.phil
Message-ID <[email protected]>
On Fri, May 21, 2004 at 08:41:39AM +0200, Thorsten Kukuk wrote:
> On Thu, May 20, Jakub Jelinek wrote:
> 
> > Hi!
> > 
> > This is the NPTL part of the tst-cond16 fix.
> 
> For PPC (and some other architectures) I need the attached patch
> for compiling. But while on ix86 the patch alone (without fixed
> kernel) solves the problem, it does not do so on PPC.

Ok, I admit I have only tested this on i386 (4xHT) and x86_64 (UP only)
so far.
On PPC, is tst-cond16 the only test that fails with this patch?
Are you using a kernel without FUTEX_CMP_REQUEUE there as well?
Can you see with say strace if FUTEX_CMP_REQUEUE returns an error in all
cases that it is run and that it does the FUTEX_WAKE call afterwards?

I'll test this later today on PPC (without FUTEX_CMP_REQUEUE in the
kernel).

	Jakub