Re: [PATCH 3/3] mm: Extend memory hotplug API to allow memoryhotplug in virtual machines

From: Dave Hansen
Date: Wed Mar 30 2011 - 10:26:43 EST


On Tue, 2011-03-29 at 20:32 +0200, Daniel Kiper wrote:
> > Your stuff already extracted the free stuff very nicely. I think now we
> > just need to separate out the totalram_pages/totalhigh_pages bits from
> > the num_physpages/max_mapnr ones.
>
> What do you think about __online_page_increment_counters()
> (totalram_pages and totalhigh_pages) and
> __online_page_set_limits() (num_physpages and max_mapnr) ???

I think there's a point when "online_page" in there becomes unnecessary,
but those sound OK to me.

-- Dave

--
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/