Re: [Patch v4 09/12] memory-hotplug: remove page table of x86_64 architecture

2012-12-06 Thread Jianguo Wu
On 2012/12/7 14:43, Tang Chen wrote: > On 11/27/2012 06:00 PM, Wen Congyang wrote: >> For hot removing memory, we sholud remove page table about the memory. >> So the patch searches a page table about the removed memory, and clear >> page table. > > (snip) > >> +void __meminit >> +kernel_physica

Re: [Patch v4 09/12] memory-hotplug: remove page table of x86_64 architecture

2012-12-06 Thread Tang Chen
On 11/27/2012 06:00 PM, Wen Congyang wrote: For hot removing memory, we sholud remove page table about the memory. So the patch searches a page table about the removed memory, and clear page table. (snip) +void __meminit +kernel_physical_mapping_remove(unsigned long start, unsigned long end)