Re: [PATCH] slub: Remove use of page->counter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 10 Apr 2018, Matthew Wilcox wrote:

> > Is this aligned on a doubleword boundary? Maybe move the refcount below
> > the flags field?
>
> You need freelist and _mapcount to be in the same dword.  There's no
> space to put them both in dword 0, so that's used for flags and mapping
> / s_mem.  Then freelist, mapcount and refcount are in dword 1 (on 64-bit),
> or freelist & mapcount are in dword 1 on 32-bit.  After that, 32 and 64-bit
> no longer line up on the same dword boundaries.

Well its no longer clear from the definitions that this must be the case.
Clarify that in the next version?




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux