lkml.org 
[lkml]   [2003]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Reduce struct page by 8 bytes on 64bit
From
   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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.046 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site