lkml.org 
[lkml]   [2014]   [Jan]   [16]   [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 01/16/2014 10:34 AM, Christoph Lameter wrote:
    > On Tue, 14 Jan 2014, Dave Hansen wrote:
    >> This makes it *MUCH* more clear how the first few fields of
    >> 'struct page' get used by the slab allocators.
    >
    > I think this adds to the confusion. What you want to know is which other
    > fields overlap a certain field. After this patch you wont have that
    > anymore.

    Why does it matter *specifically* that "index shares space with
    freelist", or that "mapping shares space with s_mem"? No data is ever
    handed off in those fields.

    All that matters is that we know the _set_ of fields that gets reused,
    and that we preserve the ones which *need* their contents preserved
    (only flags and _count as far as I can tell).


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