[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140116002001.GC8456@node.dhcp.inet.fi>
Date: Thu, 16 Jan 2014 02:20:01 +0200
From: "Kirill A. Shutemov" <kirill@...temov.name>
To: Dave Hansen <dave@...1.net>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
akpm@...ux-foundation.org, penberg@...nel.org,
cl@...ux-foundation.org
Subject: Re: [RFC][PATCH 5/9] mm: rearrange struct page
On Tue, Jan 14, 2014 at 10:00:55AM -0800, Dave Hansen wrote:
>
> From: Dave Hansen <dave.hansen@...ux.intel.com>
>
> To make the layout of 'struct page' look nicer, I broke
> up a few of the unions. But, this has a cost: things that
> were guaranteed to line up before might not any more. To make up
> for that, some BUILD_BUG_ON()s are added to manually check for
> the alignment dependencies.
>
> This makes it *MUCH* more clear how the first few fields of
> 'struct page' get used by the slab allocators.
>
> Signed-off-by: Dave Hansen <dave.hansen@...ux.intel.com>
Looks much cleaner!
Acked-by: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>
--
Kirill A. Shutemov
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists