Messages in this thread | | | Date | Wed, 4 Feb 2004 20:23:53 -0800 (PST) | From | Davide Libenzi <> | Subject | Re: fs/eventpoll : reduce sizeof(struct epitem) |
| |
On Wed, 4 Feb 2004, dada1 wrote:
> Hi Davide > > On a x86_64 platform, I noticed that the size of (struct epitem) is 136 > bytes, rounded to 192 (because of L1_CACHE alignment of 64 bytes) > > If you reorder some fields of this structure, we can reduce the size to > 128 bytes. > > The rationale is to group nwait & fd integer (32bits) fields, instead of > mixing them with pointers (64 bits)
Good catch. Thx I will.
- 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/
| |