Re: [PATCH 2/2][v2] powerpc: Make the CMM memory hotplug aware

2009-10-16 Thread Christoph Lameter
On Thu, 15 Oct 2009, Gerald Schaefer wrote: The pages allocated as __GFP_MOVABLE are used to store the list of pages allocated by the balloon. They reference virtual addresses and it would be fine for the kernel to migrate the physical pages for those, the balloon would not notice this.

Re: [PATCH 2/2][v2] powerpc: Make the CMM memory hotplug aware

2009-10-15 Thread Gerald Schaefer
Robert Jennings wrote: @@ -110,6 +125,9 @@ static long cmm_alloc_pages(long nr) cmm_dbg(Begin request for %ld pages\n, nr); while (nr) { + if (atomic_read(hotplug_active)) + break; + addr = __get_free_page(GFP_NOIO |

Re: [PATCH 2/2][v2] powerpc: Make the CMM memory hotplug aware

2009-10-08 Thread Robert Jennings
* Gerald Schaefer (gera...@linux.vnet.ibm.com) wrote: Hi, I am currently working on the s390 port for the cmm + hotplug patch, and I'm a little confused about the memory allocation policy, see below. Is it correct that the balloon cannot grow into ZONE_MOVABLE, while the pages for the

Re: [PATCH 2/2][v2] powerpc: Make the CMM memory hotplug aware

2009-10-08 Thread Gerald Schaefer
Hi, I am currently working on the s390 port for the cmm + hotplug patch, and I'm a little confused about the memory allocation policy, see below. Is it correct that the balloon cannot grow into ZONE_MOVABLE, while the pages for the balloon page list can? Robert Jennings wrote: @@ -110,6 +125,9

[PATCH 2/2][v2] powerpc: Make the CMM memory hotplug aware

2009-10-02 Thread Robert Jennings
The Collaborative Memory Manager (CMM) module allocates individual pages over time that are not migratable. On a long running system this can severely impact the ability to find enough pages to support a hotplug memory remove operation. This patch adds a memory isolation notifier and a memory