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/