Re: [PATCH part4 2/4] x86, acpica, acpi: Try to find if SRAT is overrided earlier.

2013-08-12 Thread Tang Chen
On 08/10/2013 07:34 AM, Yinghai Lu wrote: On Fri, Aug 9, 2013 at 2:41 AM, Tang Chen wrote: On 08/09/2013 12:29 AM, Yinghai Lu wrote: .. Please check if you can reuse first half of my patchset, so find and copy override table earlier. the copied acpi tables could be near kernel code

Re: [PATCH part4 2/4] x86, acpica, acpi: Try to find if SRAT is overrided earlier.

2013-08-12 Thread Tang Chen
On 08/10/2013 07:34 AM, Yinghai Lu wrote: On Fri, Aug 9, 2013 at 2:41 AM, Tang Chentangc...@cn.fujitsu.com wrote: On 08/09/2013 12:29 AM, Yinghai Lu wrote: .. Please check if you can reuse first half of my patchset, so find and copy override table earlier. the copied acpi tables could

Re: [PATCH part4 2/4] x86, acpica, acpi: Try to find if SRAT is overrided earlier.

2013-08-09 Thread Yinghai Lu
On Fri, Aug 9, 2013 at 2:41 AM, Tang Chen wrote: > On 08/09/2013 12:29 AM, Yinghai Lu wrote: > .. > >> >> Please check if you can reuse first half of my patchset, so find and copy >> override table earlier. the copied acpi tables could be near kernel code >> range. >> > > I don't think we

Re: [PATCH part4 2/4] x86, acpica, acpi: Try to find if SRAT is overrided earlier.

2013-08-09 Thread Tang Chen
On 08/09/2013 12:29 AM, Yinghai Lu wrote: .. Please check if you can reuse first half of my patchset, so find and copy override table earlier. the copied acpi tables could be near kernel code range. I don't think we need to do the finding step at that early time, in head64.c stage.

Re: [PATCH part4 2/4] x86, acpica, acpi: Try to find if SRAT is overrided earlier.

2013-08-09 Thread Tang Chen
On 08/09/2013 12:29 AM, Yinghai Lu wrote: .. Please check if you can reuse first half of my patchset, so find and copy override table earlier. the copied acpi tables could be near kernel code range. I don't think we need to do the finding step at that early time, in head64.c stage.

Re: [PATCH part4 2/4] x86, acpica, acpi: Try to find if SRAT is overrided earlier.

2013-08-09 Thread Yinghai Lu
On Fri, Aug 9, 2013 at 2:41 AM, Tang Chen tangc...@cn.fujitsu.com wrote: On 08/09/2013 12:29 AM, Yinghai Lu wrote: .. Please check if you can reuse first half of my patchset, so find and copy override table earlier. the copied acpi tables could be near kernel code range. I don't

Re: [PATCH part4 2/4] x86, acpica, acpi: Try to find if SRAT is overrided earlier.

2013-08-08 Thread Yinghai Lu
Trimmed CC list a bit. On Thu, Aug 8, 2013 at 2:41 AM, Tang Chen wrote: > Linux cannot migrate pages used by the kernel due to the direct mapping > (va = pa + PAGE_OFFSET), any memory used by the kernel cannot be hot-removed. > So when using memory hotplug, we have to prevent the kernel from

[PATCH part4 2/4] x86, acpica, acpi: Try to find if SRAT is overrided earlier.

2013-08-08 Thread Tang Chen
Linux cannot migrate pages used by the kernel due to the direct mapping (va = pa + PAGE_OFFSET), any memory used by the kernel cannot be hot-removed. So when using memory hotplug, we have to prevent the kernel from using hotpluggable memory. The ACPI table SRAT (System Resource Affinity Table)

[PATCH part4 2/4] x86, acpica, acpi: Try to find if SRAT is overrided earlier.

2013-08-08 Thread Tang Chen
Linux cannot migrate pages used by the kernel due to the direct mapping (va = pa + PAGE_OFFSET), any memory used by the kernel cannot be hot-removed. So when using memory hotplug, we have to prevent the kernel from using hotpluggable memory. The ACPI table SRAT (System Resource Affinity Table)

Re: [PATCH part4 2/4] x86, acpica, acpi: Try to find if SRAT is overrided earlier.

2013-08-08 Thread Yinghai Lu
Trimmed CC list a bit. On Thu, Aug 8, 2013 at 2:41 AM, Tang Chen tangc...@cn.fujitsu.com wrote: Linux cannot migrate pages used by the kernel due to the direct mapping (va = pa + PAGE_OFFSET), any memory used by the kernel cannot be hot-removed. So when using memory hotplug, we have to