Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1222407
| From | Christoph Lameter <cl@linux.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 3/7] x86, gfp: Cache best near node for memory allocation. |
| Date | 2015-09-11 00:10 +0200 |
| Message-ID | <q7icx-6iX-3@gated-at.bofh.it> (permalink) |
| References | <q71EK-7Fd-15@gated-at.bofh.it> <q71Op-7Qc-19@gated-at.bofh.it> <q7fHI-2ta-7@gated-at.bofh.it> <q7fRo-2FM-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, 10 Sep 2015, Tejun Heo wrote: > > Why not just update node_data[]->node_zonelist in the first place? > > Also, what's the synchronization rule here? How are allocators > > synchronized against node hot [un]plugs? > > Also, shouldn't kmalloc_node() or any public allocator fall back > automatically to a near node w/o GFP_THISNODE? Why is this failing at > all? I get that cpu id -> node id mapping changing messes up the > locality but allocations shouldn't fail, right? Without a node specification allocations are subject to various constraints and memory policies. It is not simply going to the next node. The memory load may require spreading out the allocations over multiple nodes, the app may have specified which nodes are to be used etc etc. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 0/7] Make cpuid <-> nodeid mapping persistent. Tang Chen <tangchen@cn.fujitsu.com> - 2015-09-10 06:30 +0200
[PATCH v2 6/7] x86, acpi, cpu-hotplug: Enable MADT APIs to return disabled apicid. Tang Chen <tangchen@cn.fujitsu.com> - 2015-09-10 06:40 +0200
[PATCH v2 2/7] x86, numa: Introduce a node to node array to map a node to its best online node. Tang Chen <tangchen@cn.fujitsu.com> - 2015-09-10 06:40 +0200
[PATCH v2 7/7] x86, acpi, cpu-hotplug: Set persistent cpuid <-> nodeid mapping when booting. Tang Chen <tangchen@cn.fujitsu.com> - 2015-09-10 06:40 +0200
[PATCH v2 1/7] x86, numa: Move definition of find_near_online_node() forward. Tang Chen <tangchen@cn.fujitsu.com> - 2015-09-10 06:40 +0200
[PATCH v2 5/7] x86, acpi, cpu-hotplug: Introduce apicid_to_cpuid[] array to store persistent cpuid <-> apicid mapping. Tang Chen <tangchen@cn.fujitsu.com> - 2015-09-10 06:40 +0200
Re: [PATCH v2 5/7] x86, acpi, cpu-hotplug: Introduce apicid_to_cpuid[] array to store persistent cpuid <-> apicid mapping. Tejun Heo <tj@kernel.org> - 2015-09-10 22:00 +0200
[PATCH v2 3/7] x86, gfp: Cache best near node for memory allocation. Tang Chen <tangchen@cn.fujitsu.com> - 2015-09-10 06:40 +0200
Re: [PATCH v2 3/7] x86, gfp: Cache best near node for memory allocation. Tejun Heo <tj@kernel.org> - 2015-09-10 21:30 +0200
Re: [PATCH v2 3/7] x86, gfp: Cache best near node for memory allocation. Tejun Heo <tj@kernel.org> - 2015-09-10 21:40 +0200
Re: [PATCH v2 3/7] x86, gfp: Cache best near node for memory allocation. Christoph Lameter <cl@linux.com> - 2015-09-11 00:10 +0200
Re: [PATCH v2 3/7] x86, gfp: Cache best near node for memory allocation. Tejun Heo <tj@kernel.org> - 2015-09-11 00:10 +0200
Re: [PATCH v2 3/7] x86, gfp: Cache best near node for memory allocation. Christoph Lameter <cl@linux.com> - 2015-09-11 02:20 +0200
[PATCH v2 4/7] x86, acpi, cpu-hotplug: Enable acpi to register all possible cpus at boot time. Tang Chen <tangchen@cn.fujitsu.com> - 2015-09-10 06:40 +0200
Re: [PATCH v2 4/7] x86, acpi, cpu-hotplug: Enable acpi to register all possible cpus at boot time. "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-09-11 00:50 +0200
csiph-web