Re: [patch - v3] epoll ready set loops diet ...

From: Ingo Molnar
Date: Thu Mar 01 2007 - 16:37:58 EST



* Davide Libenzi <davidel@xxxxxxxxxxxxxxx> wrote:

> > I was wrong about the size of epitem : it is now 68 bytes instead of
> > 72. At least we now use/dirty one cache line instead of two per
> > epitem.
> >
> > Do you have another brilliant idea to shrink 4 more bytes ? :)
>
> I don't think we can cleanly shove more stuff out of it.

then i'd suggest to not align events to 64 bytes, especially since the
events are handled by the same CPU in one go. 68 bytes also
automatically colors the fields in the L1 cache (it might matter).

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