Messages in this thread | | | Subject | Re: [PATCH 2/4] mm: Enable set_page_section() only if CONFIG_SPARSEMEM and !CONFIG_SPARSEMEM_VMEMMAP | From | Dave Hansen <> | Date | Mon, 02 May 2011 15:50:14 -0700 |
| |
On Mon, 2011-05-02 at 23:20 +0200, Daniel Kiper wrote: > set_page_section() is valid only in CONFIG_SPARSEMEM and > !CONFIG_SPARSEMEM_VMEMMAP context. Move it to proper place > and amend accordingly functions which are using it.
I guess we've been wasting all that time setting section bits in page->flags that we'll never use. Looks sane to me.
Acked-by: Dave Hansen <dave@linux.vnet.ibm.com>
-- Dave
| |