Re: [PATCH] Futex Generalization Patch

Rusty Russell (rusty@rustcorp.com.au)
Thu, 11 Apr 2002 02:37:57 +1000


In message <20020410152354.169FF3FE06@smtp.linux.ibm.com> you write:
> Enclosed is an "asynchronous" extension to futexes.

Wow... I never thought of that. Cool!

My main concern is the DoS of multiple kmallocs. Alan Cox suggested
tying it to an fd (ie. naturally limited), and I think this might work
(I don't know much about async io). ie. (int)utime is the fd to wake
up, and then it can be used for async io OR a poll/select interface
using existing infrastructure.

Probably it has to be a special fd (/dev/futex?).

Thoughts?
Rusty.

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/