Re: [GIT PULL] Lockless SLUB slowpaths for v3.1-rc1

From: Andi Kleen
Date: Fri Jul 29 2011 - 19:18:45 EST


Christoph Lameter <cl@xxxxxxxxx> writes:

> On Fri, 29 Jul 2011, Pekka Enberg wrote:
>
>> We haven't come up with a solution to keep struct page size the same but I
>> think it's a reasonable trade-off.
>
> The change requires the page struct to be aligned to a double word
> boundary.

Why is that?

> There is actually no variable added to the page struct. Its just
> the alignment requirement that causes padding to be added after each page
> struct.

These days with everyone using cgroups (and likely mcgroups too)
you could probably put the cgroups page pointer back there. It's
currently external.

-Andi

--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only
--
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/