Messages in this thread | | | Date | Thu, 16 Jan 2014 14:29:07 -0800 | From | Dave Hansen <> | Subject | Re: [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).
| |