|
From: Julian S. <js...@ac...> - 2005-04-07 12:02:42
|
> I'm getting assertion failures in sema_down and sema_up in > coregrind/linux/sema.c in valgrind-2.4.0. Since core_os.h defines > FUTEX_SEMA to 0, we are using the pipe-based semaphores, not the > futex-based ones. (Why? do the futex-based ones not work?) I think the intention was to support 2.4 kernels, and only have one implementation to have to validate (2.4 kernels don't do futex, right?) > Looking at sema_up/down, > [...] > What was the intention here? How was this supposed to work? I don't know. Jeremy? > This is on PPC, but this problem isn't PPC-specific AFAICS. It's a bit strange that it seems to work ok as-is on both x86 and amd64. J |