Re: [PATCH 0/10] memory-hotplug: hot-remove physical memory

2012-10-07 Thread Wen Congyang
At 10/06/2012 03:06 AM, KOSAKI Motohiro Wrote: >> Known problems: >> 1. memory can't be offlined when CONFIG_MEMCG is selected. >>For example: there is a memory device on node 1. The address range >>is [1G, 1.5G). You will find 4 new directories memory8, memory9, memory10, >>and memory1

Re: [PATCH 8/10] memory-hotplug : remove page table of x86_64 architecture

2012-10-07 Thread Wen Congyang
At 10/08/2012 12:37 PM, Andi Kleen Wrote: > Yasuaki Ishimatsu writes: >> +} >> + >> +/* >> + * We use 2M page, but we need to remove part of them, >> + * so split 2M page to 4K page. >> + */ >> +

Re: [PATCH 8/10] memory-hotplug : remove page table of x86_64 architecture

2012-10-07 Thread Andi Kleen
Yasuaki Ishimatsu writes: > + } > + > + /* > + * We use 2M page, but we need to remove part of them, > + * so split 2M page to 4K page. > + */ > + pte = alloc_low_page(&pte_ph