Re: [RFC] NUMA futex hashing

From: Nick Piggin
Date: Tue Aug 08 2006 - 21:56:08 EST

Ulrich Drepper wrote:

Of course we would need a new syscall, and to change glibc to be able to
actually use this new private_futex syscall.

No, why? The kernel already does recognize private mutexes. It just
checks whether the pages used to store it are private or mapped. This
requires some interaction with the memory subsystem but as long as no
crashes happen the data can change underneath. It's the program's
fault if it does.

Because that requires taking mmap_sem. Avoiding that is the whole
purpose, isn't it?


Send instant messages to your online friends -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at