Re: [patch] epoll bits 0.30 ...

From: Davide Libenzi (davidel@xmailserver.org)
Date: Fri Nov 08 2002 - 12:37:35 EST


On Fri, 8 Nov 2002, Jamie Lokier wrote:

> Davide Libenzi wrote:
> > Rusty, the hash is not under pressure over there. The only time seeks is
> > performed is at file removal ( from the set ) and eventually at file
> > modify. There's a direct link between the wait queue and its item during
> > the high frequency event delivery, so need seek is performed.
>
> It does seem peculiar to use a prime-sized hash table, though. These
> days, good power-of-two-sized hash functions are well known.

To make everyone happy the latest code uses hash.h :)

- 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 : Fri Nov 15 2002 - 22:00:15 EST