Re: [RFC][PATCH 3/9] mm: page->pfmemalloc only used by slab/skb

From: Dave Hansen
Date: Tue Jan 14 2014 - 17:18:40 EST


On 01/14/2014 11:49 AM, Christoph Lameter wrote:
> On Tue, 14 Jan 2014, Dave Hansen wrote:
>> page->pfmemalloc does not deserve a spot in 'struct page'. It is
>> only used transiently _just_ after a page leaves the buddy
>> allocator.
>
> Why would we need to do this if we are removing the cmpxchg_double?

Why do we need the patch?

'struct page' is a mess. It's really hard to follow, and the space in
the definition is a limited resource. We should not waste that space on
such a transient and unimportant value as pfmemalloc.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/