lkml.org 
[lkml]   [2014]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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@linux.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@linux.intel.com>

    Looks much cleaner!

    Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>

    --
    Kirill A. Shutemov


    \
     
     \ /
      Last update: 2014-01-16 01:41    [W:3.701 / U:0.164 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site