Messages in this thread | | | Date | Wed, 16 Apr 2003 14:40:35 -0700 (PDT) | Subject | Re: Reduce struct page by 8 bytes on 64bit | From | "David S. Miller" <> |
| |
From: Andrew Morton <akpm@digeo.com> Date: Wed, 16 Apr 2003 14:43:11 -0700
Well are we sure that the `flags' and `count' fields will always fall into the same 256-byte range? Wouldn't it subtly break if sizeof(struct page) became not a multiple of eight? Will the compiler pad it out anyway?
As long as there is a long or pointer member, the structure will be required to be 8 byte or better aligned. - 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/
| |