From patchwork Sat Sep 29 12:06:07 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: 10620753 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 B8C7E14BD for ; Sat, 29 Sep 2018 12:08:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A15FC29D0E for ; Sat, 29 Sep 2018 12:08:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9286129D1D; Sat, 29 Sep 2018 12:08:21 +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 094BF29D0E for ; Sat, 29 Sep 2018 12:08:20 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6AE788E0002; Sat, 29 Sep 2018 08:08:19 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 65E888E0001; Sat, 29 Sep 2018 08:08:19 -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 54DC58E0002; Sat, 29 Sep 2018 08:08:19 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pf1-f200.google.com (mail-pf1-f200.google.com [209.85.210.200]) by kanga.kvack.org (Postfix) with ESMTP id 15B268E0001 for ; Sat, 29 Sep 2018 08:08:19 -0400 (EDT) Received: by mail-pf1-f200.google.com with SMTP id z1-v6so10033646pfn.14 for ; Sat, 29 Sep 2018 05:08:19 -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=S7Q8FSQSM2Py4rNzGps1/UHBQ/+TQQt9hm2md9kc6pI=; b=FPvCB5kIySSL37aoNDoHvyHNsdTY0x7bsSDKSBLZ4eL/c315AIDr4c5gFfXoms0Fky OEVI29cObjvjB8O35AKd+R1UhHpNAgAGSmxfGm4JDNzQWh4X8MvalN5iCq1y5x+tBYNq M0nEg34r87gojUReNTCVWe9yqsBl1bMA2QxKcTGJZkntvfmNXcGLnBNOriNQu1I1lc8O ZJLbySZzaL0Pf69n2HIejjm3poGibCD1iDXFNQAmk/0XflompZ+mQ3Y/Bs6RHbiZM1Dl y8iyVSyv17EXvrogjhuspm/7WQyEYMHDeIIC5HT1GmMQCY9BAyjQeN3qo1Uv3SPdWy66 RBWw== 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: ABuFfojS4YkI5UEdyQUtoGvk4oubt9kvkBVaKssjTWaPe7TwIY2BILtO 4Acf6JNkfiNLlw6yfp6nfaT/3tFcdfdsiuKrBdlua+OZAGFAmHP1FJ8/OmQdsF9I1BY59aRdl6H k/cmx8u4EYwAahXClyFtl56swduzqLvHdeUNQ6J2Lhwacwc4cxUBlXz/FmZBYEtunvQ== X-Received: by 2002:a17:902:8502:: with SMTP id bj2-v6mr2907766plb.295.1538222898731; Sat, 29 Sep 2018 05:08:18 -0700 (PDT) X-Google-Smtp-Source: ACcGV621UY/Bs/bVT6+f3gGtvAnX6HHLJ3whUe84p4TKI1WoKT0TWijfR/RKuhRwxEchby+DmaWr X-Received: by 2002:a17:902:8502:: with SMTP id bj2-v6mr2907695plb.295.1538222897867; Sat, 29 Sep 2018 05:08:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538222897; cv=none; d=google.com; s=arc-20160816; b=V0PjrW2jl04p6R9KEMQuohrFd928oBihydNuWLfNgRrqgo2/bhFWpW3tV6PyQy3aSh 02QWyudo2VyvyHjI6l4aQ3/QpLfFVVA1wzgHATnip7gWYlhUxJ0p1WVEO5eXFycQLEYd r25ijPEL3YdrVTyrwBq81qlycBxlHwql2p5qE54jXOIA0MflcsYpVpuEC02vSycmeYxT qrZ1pHGBGfMA3rMfxRkX3geHucSL6qRoTIoyxKuv3NEg8vYbGsN43KKJ+w0uVmyI9iuY ZIwCzd1dUJtEc0gBXQzMyWRcruF9KeBeIz0lAu24/Wjgiq5jcq392jiHzeihgzDYtl1S 4mYg== 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=S7Q8FSQSM2Py4rNzGps1/UHBQ/+TQQt9hm2md9kc6pI=; b=uSVVzcIH3yAWJDk7Pxx4Afc7WSbLXLI+PN4C0HfHLg65kPNlJyQojGv7553Ai2yHoq ekdli4dCjoSlhOFW4CRkgcQMm9wnBzzvws7Nl7T5HRhFlU32pGZ3ETQ1hC/APgzK97tZ ZhmIRaqhEtzUXNMxoq1gRwCAUNeWK4WVcbL+s7xjIgaklfdo8DimP0U6e7jmd5wEXHMX C+q52t5OhM3dnbbIFOKK7obWIDEdtaPJY4+PJbXAqODpieUVQupdE8q7nnYjlWeZGi3/ LoLRyGSsXt5gja73zv1QZNzJ6Y+0QJJX2cNeO1cJauZ5HX+KOrWsH4hFoYW4sQ/6oI4S Yc6Q== 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 u8-v6si159383plk.443.2018.09.29.05.08.17 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Sep 2018 05:08:17 -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 37AE7DA0; Sat, 29 Sep 2018 12:08:17 +0000 (UTC) Subject: Patch "x86/numa_emulation: Fix emulated-to-physical node mapping" has been added to the 3.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:07 -0700 Message-ID: <1538222767119177@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 3.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-3.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:32:11 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-3.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 @@ -60,7 +60,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) {