From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by kanga.kvack.org (Postfix) with ESMTP id 043E28E0001 for ; Sat, 29 Sep 2018 08:09:58 -0400 (EDT) Received: by mail-pf1-f198.google.com with SMTP id b22-v6so507112pfc.18 for ; Sat, 29 Sep 2018 05:09:57 -0700 (PDT) Received: from mail.linuxfoundation.org (mail.linuxfoundation.org. [140.211.169.12]) by mx.google.com with ESMTPS id a61-v6si663154pla.430.2018.09.29.05.09.56 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Sep 2018 05:09:56 -0700 (PDT) Subject: Patch "x86/numa_emulation: Fix emulated-to-physical node mapping" has been added to the 4.14-stable tree From: Date: Sat, 29 Sep 2018 05:06:23 -0700 Message-ID: <1538222783118138@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: owner-linux-mm@kvack.org List-ID: To: 153089328103.27680.14778434392225818887.stgit@dwillia2-desk3.amr.corp.intel.com, alexander.levin@microsoft.com, dan.j.williams@intel.com, gregkh@linuxfoundation.org, linux-mm@kvack.org, mingo@kernel.org, peterz@infradead.org, richard.weiyang@gmail.com, rientjes@google.com, tglx@linutronix.de, torvalds@linux-foundation.org Cc: stable-commits@vger.kernel.org This is a note to let you know that I've just added the patch titled x86/numa_emulation: Fix emulated-to-physical node mapping to the 4.14-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: x86-numa_emulation-fix-emulated-to-physical-node-mapping.patch and it can be found in the queue-4.14 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From foo@baz Sat Sep 29 04:27:59 PDT 2018 From: Dan Williams Date: Fri, 6 Jul 2018 09:08:01 -0700 Subject: x86/numa_emulation: Fix emulated-to-physical node mapping From: Dan Williams [ 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 Cc: David Rientjes Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Wei Yang 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 Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/x86/mm/numa_emulation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/x86/mm/numa_emulation.c +++ b/arch/x86/mm/numa_emulation.c @@ -61,7 +61,7 @@ static int __init emu_setup_memblk(struc eb->nid = nid; if (emu_nid_to_phys[nid] == NUMA_NO_NODE) - emu_nid_to_phys[nid] = nid; + emu_nid_to_phys[nid] = pb->nid; pb->start += size; if (pb->start >= pb->end) { Patches currently in stable-queue which might be from dan.j.williams@intel.com are queue-4.14/x86-numa_emulation-fix-emulated-to-physical-node-mapping.patch