Re: [patch 14/22] pollfs: pollable futex

From: Ulrich Drepper
Date: Wed May 02 2007 - 13:50:10 EST


On 5/2/07, Davi Arnaut <davi@xxxxxxxxxxxxx> wrote:
NO! Every single waiter of the _file descriptor_ is waked, not of the futex.

And how is this better? In this world of yours a program must have
one file descriptor for each single futex which is used like this *per
thread*. There can be hundreds, thousands of threads. And there can
be large numbers of futexes, too.

This is not going to fly. You reach the file descriptor limit just
with this. And this in many processes on the system.


davi@karmic:~/git/linux-2.6$ find patches/ -name *.patch |grep -v
syscall | wc -l
10

davi@karmic:~/git/linux-2.6$ find patches/ -name *.patch |grep -v
syscall |grep futex
patches/pollfs-futex-async-wait.patch
patches/pollfs-futex.patch

I don't know what you want to show here. You 10 new syscalls? You
have two patches alone modifying futexes? And 22 patches in total.
That's not "a lot"?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/