Re: [patch] sys_epoll 0.14 ...

From: Davide Libenzi (davidel@xmailserver.org)
Date: Tue Oct 29 2002 - 22:50:12 EST


On Tue, 29 Oct 2002, Andrew Morton wrote:

> Davide Libenzi wrote:
> >
> > Thanks to Andrew and John suggestions I coded another version of the
> > sys_epoll patch ( 0.13 skipped ... superstition :) ). I won't send the
> > patch to not waste bandwidth, the patch is available here :
> >
> > http://www.xmailserver.org/linux-patches/sys_epoll-2.5.44-last.diff
> >
> > Comments are welcome ...
> >
>
> Looking good to me, Davide. I think you've nailed everything there
> except:
>
> - Do we want to introduce new list macros, or change epoll a little
> to use the existing list manipulators (I think the latter)

Andrew, sys_epoll uses linux/list.h interface. Doesn't it ?
And more, we can schedule the sys_close() review later if you want ...

> - Do we keep the vmalloc, replace it with alloc_pages() or go all the
> way and remove the hash table?
>
> Seems that you're leaning toward the final option but either way,
> it would be best to get that vmalloc out of there - it's basically
> hit-or-miss for anything larger than a single page - for a really
> robust implementation it is best to avoid its use.

This will be the last patch that will use the hash. So vmalloc() will go
away. I'm still failing to find creep in my proposed plan to remove the
hash ...

- Davide

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



This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:45 EST