Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1446673

Re: [PATCH v8 1/7] x86, memhp, numa: Online memory-less nodes at boot time.

From Tejun Heo <tj@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v8 1/7] x86, memhp, numa: Online memory-less nodes at boot time.
Date 2016-07-19 21:00 +0200
Message-ID <rWIpk-7BQ-19@gated-at.bofh.it> (permalink)
References <rWxNg-18Q-5@gated-at.bofh.it> <rWxNg-18Q-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hello,

On Tue, Jul 19, 2016 at 03:28:02PM +0800, Dou Liyang wrote:
> In this series of patches, we are going to construct cpu <-> node mapping
> for all possible cpus at boot time, which is a 1-1 mapping. It means the

1-1 mapping means that each cpu is mapped to its own private node
which isn't the case.  Just call it a persistent mapping?

> cpu will be mapped to the node it belongs to, and will never be changed.
> If a node has only cpus but no memory, the cpus on it will be mapped to
> a memory-less node. And the memory-less node should be onlined.
> 
> This patch allocate pgdats for all memory-less nodes and online them at
> boot time. Then build zonelists for these nodes. As a result, when cpus
> on these memory-less nodes try to allocate memory from local node, it
> will automatically fall back to the proper zones in the zonelists.

Yeah, I think this is an a lot better approach for memory-less nodes.

> Signed-off-by: Zhu Guihua <zhugh.fnst@cn.fujitsu.com>
> Signed-off-by: Dou Liyang <douly.fnst@cn.fujitsu.com>

Acked-by: Tejun Heo <tj@kernel.org>

Thanks.

-- 
tejun

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v8 0/7] Make cpuid <-> nodeid mapping persistent Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-07-19 09:40 +0200
  [PATCH v8 7/7] Provide the interface to validate the proc_id which they give Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-07-19 09:40 +0200
    Re: [PATCH v8 7/7] Provide the interface to validate the proc_id  which they give Tejun Heo <tj@kernel.org> - 2016-07-19 21:00 +0200
      Re: [PATCH v8 7/7] Provide the interface to validate the proc_id  which they give Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-07-20 03:00 +0200
  [PATCH v8 2/7] x86, acpi, cpu-hotplug: Enable acpi to register all possible cpus at boot time. Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-07-19 09:40 +0200
  [PATCH v8 1/7] x86, memhp, numa: Online memory-less nodes at boot time. Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-07-19 09:40 +0200
    Re: [PATCH v8 1/7] x86, memhp, numa: Online memory-less nodes at  boot time. Tejun Heo <tj@kernel.org> - 2016-07-19 21:00 +0200
      Re: [PATCH v8 1/7] x86, memhp, numa: Online memory-less nodes at boot  time. Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-07-20 04:40 +0200
  [PATCH v8 6/7] Provide the mechanism to validate processors in the ACPI tables Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-07-19 09:40 +0200
  [PATCH v8 4/7] x86, acpi, cpu-hotplug: Enable MADT APIs to return disabled apicid. Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-07-19 09:40 +0200
  [PATCH v8 5/7] x86, acpi, cpu-hotplug: Set persistent cpuid <-> nodeid mapping when booting. Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-07-19 09:40 +0200
    Re: [PATCH v8 5/7] x86, acpi, cpu-hotplug: Set persistent cpuid <-> nodeid mapping when booting. "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-07-19 22:10 +0200
      Re: [PATCH v8 5/7] x86, acpi, cpu-hotplug: Set persistent cpuid <->  nodeid mapping when booting. Dou Liyang <douly.fnst@cn.fujitsu.com> - 2016-07-20 03:30 +0200

csiph-web