Re: [PATCH 11/11] x86, mem_hotplug: Allocate memory near kernel image before SRAT is parsed.

2013-09-04 Thread Toshi Kani
On Tue, 2013-08-27 at 17:37 +0800, Tang Chen wrote: > After memblock is ready, before SRAT is parsed, we should allocate memory > near the kernel image. So this patch does the following: > > 1. After memblock is ready, make memblock allocate memory from low address >to high, and set the

Re: [PATCH 11/11] x86, mem_hotplug: Allocate memory near kernel image before SRAT is parsed.

2013-09-04 Thread Toshi Kani
On Tue, 2013-08-27 at 17:37 +0800, Tang Chen wrote: After memblock is ready, before SRAT is parsed, we should allocate memory near the kernel image. So this patch does the following: 1. After memblock is ready, make memblock allocate memory from low address to high, and set the lowest

[PATCH 11/11] x86, mem_hotplug: Allocate memory near kernel image before SRAT is parsed.

2013-08-27 Thread Tang Chen
After memblock is ready, before SRAT is parsed, we should allocate memory near the kernel image. So this patch does the following: 1. After memblock is ready, make memblock allocate memory from low address to high, and set the lowest limit to the end of kernel image. 2. After SRAT is parsed,

[PATCH 11/11] x86, mem_hotplug: Allocate memory near kernel image before SRAT is parsed.

2013-08-27 Thread Tang Chen
After memblock is ready, before SRAT is parsed, we should allocate memory near the kernel image. So this patch does the following: 1. After memblock is ready, make memblock allocate memory from low address to high, and set the lowest limit to the end of kernel image. 2. After SRAT is parsed,