]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
x86/numa_emulation: Fix emulated-to-physical node mapping
authorDan Williams <dan.j.williams@intel.com>
Fri, 6 Jul 2018 16:08:01 +0000 (09:08 -0700)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:50:33 +0000 (19:50 -0600)
commit5308d38cc4f43b539ee1db89cb508cc582ba8edd
tree2bc8b774d49a700f6e15b4b4ae8e75f3b96d9c67
parentb156ba9c67c77c05360665bad320603f1667e57e
x86/numa_emulation: Fix emulated-to-physical node mapping

BugLink: https://bugs.launchpad.net/bugs/1836287
[ Upstream commit 3b6c62f363a19ce82bf378187ab97c9dc01e3927 ]

Without this change the distance table calculation for emulated nodes
may use the wrong numa node and report an incorrect distance.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Wei Yang <richard.weiyang@gmail.com>
Cc: linux-mm@kvack.org
Link: http://lkml.kernel.org/r/153089328103.27680.14778434392225818887.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/x86/mm/numa_emulation.c