[RFC][PATCH 7/9] mm: slub: remove 'struct page' alignment restrictions

2014-01-14 Thread Dave Hansen
From: Dave Hansen SLUB depends on a 16-byte cmpxchg for an optimization. In order to get guaranteed 16-byte alignment (required by the hardware on x86), 'struct page' is padded out from 56 to 64 bytes. Those 8-bytes matter. We've gone to great lengths to keep 'struct page' small in the past.

[RFC][PATCH 7/9] mm: slub: remove 'struct page' alignment restrictions

2014-01-14 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com SLUB depends on a 16-byte cmpxchg for an optimization. In order to get guaranteed 16-byte alignment (required by the hardware on x86), 'struct page' is padded out from 56 to 64 bytes. Those 8-bytes matter. We've gone to great lengths to keep