From patchwork Sat Sep 29 12:06:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 10620757 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 938A06CB for ; Sat, 29 Sep 2018 12:12:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7887629D0E for ; Sat, 29 Sep 2018 12:12:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 54D362A821; Sat, 29 Sep 2018 12:12:43 +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 B0ADD29D0E for ; Sat, 29 Sep 2018 12:12:42 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id B18A48E0004; Sat, 29 Sep 2018 08:12:41 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id AEF2D8E0001; Sat, 29 Sep 2018 08:12:41 -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 9B91A8E0004; Sat, 29 Sep 2018 08:12:41 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by kanga.kvack.org (Postfix) with ESMTP id 575BC8E0001 for ; Sat, 29 Sep 2018 08:12:41 -0400 (EDT) Received: by mail-pf1-f197.google.com with SMTP id y86-v6so3304469pff.6 for ; Sat, 29 Sep 2018 05:12:41 -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=T23+yhugjmjY1DYDHgd11kIRmP3rfsYrhP1UeJ8ScmE=; b=BmkLs8d6rqMD2JX8aLO2pMQLayAwtbdGxGs+R4YyKIfuwC2yBGI3l+kjQf28ZnKmPP FWRMN95UNpGMwGK1keVzj9NeHcG3M4DMsHiPL/oXhxyijMHyEfjhxSFgre2X3lcZ8NNy zF+cbXfuydPB9JjRiKssSDlMJzl1Sve8oaKhSuNyl5rNfkwNxFgNZznTQpnA7zwDGp59 O1yPaWRSPW2b8iwGTSa67US3vPmbN+1w+YPu80ccBtx+ffv75KKCgZ1Qnl3Xi1QX8B88 noir6qxMnS8QK6NRXmgOqYp7w0FEuN+rbLlLXJ6dHIYWcfOAUdSGtCaBfALUVqKM6Iuq DWWQ== 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: ABuFfoiRSBHCw8y1gStvz/IFqQCszlLBOieUCKqpe32DQXceLh4hVYh5 WOhmbFMG3ds1iAnUOlsc5xGtLHSvtq1pFkxkQmbJlsTLFhHUxkz7P0tesR+Ue+e91Q+7hh0MB0o luCgFcE90rKsTTI3ziGTAxjcH2APw6ofJYgpW8VkS7EmFWZ4fLaJoyB0qxT9PUZiRZQ== X-Received: by 2002:a63:9809:: with SMTP id q9-v6mr2700012pgd.58.1538223161031; Sat, 29 Sep 2018 05:12:41 -0700 (PDT) X-Google-Smtp-Source: ACcGV63BizBXxlbvfDezMZmU1Qz6wRY1GCM13BuxG3TmcfKACKCdgbTMv9PesKNA/snEpt6KNxIT X-Received: by 2002:a63:9809:: with SMTP id q9-v6mr2699979pgd.58.1538223160349; Sat, 29 Sep 2018 05:12:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538223160; cv=none; d=google.com; s=arc-20160816; b=wK4e8hnpfFI/7aR8k816mh5JwEq1DiH+T8NNbrefoLl+u5l6msvrQ4v7MiBz0Mbq23 C1GB1xqj3wpoIufaiS8q4Er3hFt00FiNUgkZVflTZZi5d7bMWUmfpwQGk/jYH2SppRNo jL2SiEuKiHZSue1k0KY90IYPemX1GEYuJSWma2RMRexbepppXQuafiDfvVD+Fy8Ca1YB T0wEQMyvWSGjVOJa90KP4ryWS4dM1b3bnaxEBhUMy6DfpQEm2fMLGQ6sK/ft2WdNPNcn OA9uLUlUoyzLFDAGdCX5Q6/VZXNnsBWXVVH42WRzgEuLC6B3nnO6JdBvbpdTQk8dN21A C6Rw== 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=T23+yhugjmjY1DYDHgd11kIRmP3rfsYrhP1UeJ8ScmE=; b=QQuLRTaZFz8GnlR2Du6wH3lAVkyWupIvWeqzuZDp8VQKAalKNwE5Pj4wgdS8tEH4O8 gHp+/F+kN0pCy19STB99ozClTJMAQVWowSfJeb6hfb6pvSN12B9FL0/o2IDep/0fPKSk 8ahKcqEx3zgbuxJjp556oP889mo/K/KAr3Vj7ay2tTdTMfuDCvRtoUoM1poMjSjGSsIy 4wkFqRO9vm+IvfcH1u8jYtyHNrIYFnd9feLb01mfebtWigmsRT5WlkpMsFVwTlzZzWq0 oWOWIt4L/v5//e3pWkGJ9ykIZsy/hMPp2oCv6z0hkmQW5RENZAsJcn+odrE0dLBKrNRx keTA== 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 e7-v6si7523153pgn.82.2018.09.29.05.12.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Sep 2018 05:12:40 -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 EC629D9F; Sat, 29 Sep 2018 12:12:39 +0000 (UTC) Subject: Patch "x86/numa_emulation: Fix emulated-to-physical node mapping" has been added to the 4.18-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:33 -0700 Message-ID: <153822279328131@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.18-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.18 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:24:28 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.18/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) {