I agree that having a single event source and event loop is attractive,
and want Linux to support it. But my proposal doesn't get in the way of
that at all. Let's say you use my patch to pick up network readiness events,
and have aio_{read,write}() send realtime signals when disk I/O is complete.
You can distinguish them nicely by using separate signal numbers, or you
can distinguish them based on the value of si_code (which will be SI_ASYNC
for the completion notifications, and SI_SIGIO or something like that for the
readiness notifications).
No problem, and you still have a unified event queue.
> > Thanks again for creating and maintaining your patch! I look forward to
> > stress-testing the next version.
>
> Could you please try attached one? It's mostly untested, but my home site
> will be down next week.
>
> And thank you for your efforts also :)
> I'm looking forward to see a test case, all I could come up with happily
> runs on the old version.
OK, I'll see if I can whip together a test case tomorrow. (No promises --
my wife is starting to wonder if I'll ever emerge from my office.)
- Dan
-
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/