From patchwork Sat Sep 29 12:06:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 10620755 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E44D2175A for ; Sat, 29 Sep 2018 12:09:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DC3CB29D0E for ; Sat, 29 Sep 2018 12:09:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CBC742A821; Sat, 29 Sep 2018 12:09:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 574F929D0E for ; Sat, 29 Sep 2018 12:09:59 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 613F78E0003; Sat, 29 Sep 2018 08:09:58 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 59A298E0001; Sat, 29 Sep 2018 08:09:58 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 43D8E8E0003; Sat, 29 Sep 2018 08:09:58 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org 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) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:subject:to:cc :from:date:message-id:mime-version:content-transfer-encoding; bh=WV3DnocBOP2hM3Maa5buIOikAU+TWK5WRBSBRQ7MkUw=; b=IOptX/k3IAI0rCE9865YfUaDJyhlkVbwh+dfd+C6mx4ZekS5p3LfyRsRELN1Cjmxex tBm6XsVtIn9tA7RoJtTTqCXqRUW3xIg/gd7OxDbbUyz/bnWxlTLJ7BEVsj13FAp7JGgK IPdAbA/RdFsgpXgn0bijVPCmgbYwXOZbFSvCHt7/nmkXaAs/iRDVsxwPzfEANJNL6B05 S3YkNGqQ1ehX37yjChmsPbNAwX7F/dbusstLU+yuTgKGvrfodfVar5kdBU8eJwtgGRyZ ElXBU5Wj0dQcPiNqdLpV0nt5df6ZoGmiU2stQodBOfpIUI7PZw3wc9b4FWos40I1FjJ9 TXCw== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of gregkh@linuxfoundation.org designates 140.211.169.12 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org X-Gm-Message-State: ABuFfohQE1Ds+9ZPf1MQqLwmgF42H+QsOgP1qrxIlr+fSo8OzZbmdSmj gDt082kU7y7CvfuV0+oI5MZZzPxTCqng7NpuNfbSlB9IHlINMqU70XwtdOAVSU3HOjbGgXgYbI3 lfFZyj73wYGDvKyCO+4R5V66j1QDLqp9yWu1PG8irHGrJV/vrAUno1MRC4VStverOdA== X-Received: by 2002:aa7:8191:: with SMTP id g17-v6mr2872600pfi.71.1538222997684; Sat, 29 Sep 2018 05:09:57 -0700 (PDT) X-Google-Smtp-Source: ACcGV612AGQ+1yDwLyCT1qRoT6lj6Blf2FfTioBG3qrVlwB4St14UA4OllRo8IADY+SdiJeco0+r X-Received: by 2002:aa7:8191:: with SMTP id g17-v6mr2872560pfi.71.1538222997005; Sat, 29 Sep 2018 05:09:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538222996; cv=none; d=google.com; s=arc-20160816; b=K7xdOoF29ttinxss1r+rC43xVED5HMvPdt9JB4ak7Pjb+f8vqgX8Hdlh6N7AWFxDxB aRejcy1lrY+CgEXuF0yRLZFDY4Ero0bU9imjedXXX2iuGE6nq2QNUQ7TTUE2pRZghY0h 0v6vCSxz1X1PO2KZNoncuUokWnTEpb2atBCUdmpA9O8393JhPqr4Q/GHcCtlji0NwsK4 5KSxu1/VQzFeupCgX1kHjiwaL4xTIPB6gkE2iPXw//1Tcgj/57Kv6AomTBjp8i59M19w JqyJvK4zGO3z4zs6GQhKj+tbuPluKkYN2tKS6lUUjW94aSWH16seCrOeTRONLNf5o8K6 8Rrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:from:cc:to :subject; bh=WV3DnocBOP2hM3Maa5buIOikAU+TWK5WRBSBRQ7MkUw=; b=acR9LsQMl9/Yoh7DqZfjdpFl0Lj3YuQcGLrx0r2tP4WncFw9Hoc7AyY9zrle9H+isR TM0PYU2HDxkshIxfg5jpzV5aog4sJ8CVPhrbjK4u62dCVagnNDi3EtEA6f3bumOyUijs /e/J8sflS2/485QYsZCz4YtlBvUfIfxRHIne7/CpOdbkUo2O/8SBe8VZQTyQpG6iSWOq 2Koup7ghr5HxPSnpRwaEMcguuGncduLb8mhekK7mqs4o7X444Su9j0icrF1j+0XfE0/Y CczVD4pZZTd4dWcsEBK22GHtp6HKIGgj68mKe0LA305T/yCpZbFIQzSCqMOIiMMPhn2J pKDA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of gregkh@linuxfoundation.org designates 140.211.169.12 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org 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) Received-SPF: pass (google.com: domain of gregkh@linuxfoundation.org designates 140.211.169.12 as permitted sender) client-ip=140.211.169.12; Authentication-Results: mx.google.com; spf=pass (google.com: domain of gregkh@linuxfoundation.org designates 140.211.169.12 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org Received: from localhost (c-73-221-170-44.hsd1.wa.comcast.net [73.221.170.44]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 95B65D9F; Sat, 29 Sep 2018 12:09:56 +0000 (UTC) Subject: Patch "x86/numa_emulation: Fix emulated-to-physical node mapping" has been added to the 4.14-stable tree 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: From: Date: Sat, 29 Sep 2018 05:06:23 -0700 Message-ID: <1538222783118138@kroah.com> MIME-Version: 1.0 X-stable: commit X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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 --- 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) {