Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3

From: Evgeniy Polyakov
Date: Thu Mar 01 2007 - 08:05:42 EST


On Thu, Mar 01, 2007 at 01:43:36PM +0100, Ingo Molnar (mingo@xxxxxxx) wrote:
>
> * Evgeniy Polyakov <johnpol@xxxxxxxxxxx> wrote:
>
> > I separated epoll and kevent servers, since originally kevent server
> > included additional kevent features, but then new ones were added and
> > I moved slowly to the similar to epoll case.
>
> i dont care whether they are separate or not - but you have not replied
> to the request that there be a handle_web_request() function in /both/
> files, which is precisely the same function. I didnt ask you to merge
> the two files - i only asked for the two web handling functions to be
> one and the same function.

They are not the same in general - if kevent is ready immediately, there
will not be its removing from kevent tree, but current kevent server has
it always not-immediately for lighttpd tests - so functions are the same:
open()
sendfile()
cork_off
close(fd)
close(s)
remove_event_from_the_kernel

with the same parameters.

> Ingo

--
Evgeniy Polyakov
-
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/