Re: [PATCH 5/9] mm: Let sparse_{add,remove}_one_section receive a node_id

From: Dave Hansen
Date: Tue Sep 09 2014 - 14:37:03 EST


On 09/09/2014 08:45 AM, Boaz Harrosh wrote:
> This is for add_persistent_memory that will want a section of pages
> allocated but without any zone associated. This is because belonging
> to a zone will give the memory to the page allocators, but
> persistent_memory belongs to a block device, and is not available for
> regular volatile usage.

I don't think we should be taking patches like this in to the kernel
until we've seen the other side of it. Where is the page allocator code
which will see a page belonging to no zone? Am I missing it in this set?

I see about 80 or so calls to page_zone() in the kernel. How will a
zone-less page look to all of these sites?
--
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/