android_kernel_xiaomi_sm8350/arch/x86_64/mm
David Rientjes 08705b89ec x86_64: fake apicid_to_node mapping for fake numa
When we are in the emulated NUMA case, we need to make sure that all existing
apicid_to_node mappings that point to real node ID's now point to the
equivalent fake node ID's.

If we simply iterate over all apicid_to_node[] members for each node, we risk
remapping an entry if it shares a node ID with a real node.  Since apicid's
may not be consecutive, we're forced to create an automatic array of
apicid_to_node mappings and then copy it over once we have finished remapping
fake to real nodes.

Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-21 18:37:10 -07:00
..
extable.c
fault.c x86_64: minor exception trace variables cleanup 2007-07-21 18:37:09 -07:00
init.c x86_64: minor exception trace variables cleanup 2007-07-21 18:37:09 -07:00
ioremap.c Revert "[PATCH] x86: __pa and __pa_symbol address space separation" 2007-05-07 08:44:24 -07:00
k8topology.c [PATCH] x86-64: Don't enable NUMA for a single node in K8 NUMA scanning 2007-05-02 19:27:21 +02:00
Makefile
mmap.c
numa.c x86_64: fake pxm-to-node mapping for fake numa 2007-07-21 18:37:10 -07:00
pageattr.c x86: Always flush pages in change_page_attr 2007-07-21 18:37:07 -07:00
srat.c x86_64: fake apicid_to_node mapping for fake numa 2007-07-21 18:37:10 -07:00