From patchwork Sat Sep 29 12:06:41 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: 10620761 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 2E3EE6CB for ; Sat, 29 Sep 2018 12:14:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2E6922AA31 for ; Sat, 29 Sep 2018 12:14:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 223C42AA37; Sat, 29 Sep 2018 12:14:45 +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 DCD6C2AA31 for ; Sat, 29 Sep 2018 12:14:43 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E99B08E0006; Sat, 29 Sep 2018 08:14:42 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id E705D8E0001; Sat, 29 Sep 2018 08:14:42 -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 D87338E0006; Sat, 29 Sep 2018 08:14:42 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by kanga.kvack.org (Postfix) with ESMTP id 9B1D48E0001 for ; Sat, 29 Sep 2018 08:14:42 -0400 (EDT) Received: by mail-pf1-f199.google.com with SMTP id b17-v6so10014776pfo.20 for ; Sat, 29 Sep 2018 05:14:42 -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=JyzoUZnF5weZiYmCpxICXRqDW26NqAFLrSgxeQmjmoQ=; b=ABlf/h0AwF1xzAvEVhzJWgQsEeo4e+8LeQG77dvOsiN+lyUUCM/ztVyMfdMcZEpbP/ QO3xksHgEvoFH2gQip9EylODvuQAkxIQY0xBuOI374SQj38YX20FyqE+4nwjzhmyXajm CwQEHKbGihCTb1mdRB0R8FAi/DcUXWuFAoxgh5/hvlu/P6NWzzV7+5FCLP3AgImn+qjg 0vXYBqEhtHqBF6/M0KIC4gCT7CQUkYM4CG7GpiHYGH0lNNH6avq4bL3/7x6DDE5dzC5l vDSdfL8PxGsj+ZtpKllJqdHVbis4FIgpV3SJB4H3HeF1vgxpGDZDpb+eHRlzi0WE/e6h tKQQ== 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: ABuFfoglAu2499NVE1YopLN4DpVOqbqtl3HzGRaBBCUSmFHHdShHv3iG IFKlDFwJBkG3wgxwPcjO+O8BHmbkTDtZuyXfd4/GLMvzdN6BFiah2BAThCsLzX0zAR+Js8cHxjw Nxx1T6YsZ6vZPHRHXL/BIj2np+GRAvrqVf3pV925aRFjC/TiItHsX2MphlyYZl88h+Q== X-Received: by 2002:a62:48ce:: with SMTP id q75-v6mr2960951pfi.22.1538223282325; Sat, 29 Sep 2018 05:14:42 -0700 (PDT) X-Google-Smtp-Source: ACcGV60wNsEer1IcUWGD55iTZs3oifIyQAJqBqiX4zJna9oYHJPwckrnLlJKL6zOkG7d/W9FhEqC X-Received: by 2002:a62:48ce:: with SMTP id q75-v6mr2960912pfi.22.1538223281637; Sat, 29 Sep 2018 05:14:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538223281; cv=none; d=google.com; s=arc-20160816; b=KWEANciSQqtieikPQlbDX3efutScCVU8ytshBvVrNIQnWMfucazNIP9UgAhcJs8UnZ pt070UYXKnI4DSeJ95jSy4iW4Q2aYvT+yUpEAAQWvSYMnVjphUW+BnrKU9hIi3oFBnCU 8cn8X6g7m6WRW4E9ilNpLmuUJGu3ImAiCCouiQCJI+45gLoPZBzNnDWK1L5EpVPQAy9K uhNnJf+DumU5IctTCpieLpnS/5hCR3xUQYV5AkI9Th4US+YKImJLL07lJQug870Ecy1v vwZUbaQOCQc46eJPKJH4Hi9t5koKvQEROn/Bo39zzeCYICAzDAtWvmHrD8Y/oSxvDHza ENfA== 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=JyzoUZnF5weZiYmCpxICXRqDW26NqAFLrSgxeQmjmoQ=; b=fCWeuERbRhNM/1GoxsrpfWYCd7NyUcUl/QF6Ny8gMsG8kX+mmzEq8pmh1AG8C+a22i ZAnS6RyKH+mjNdgiEaEof2EDj7m8FNQd/GYtAXtWZuubyDu7nycYqlY+8NhVhulth9oO xlOKxTLKFxyqd4tsXLZpLpNiwsQIPWdgff1vVhncT+HjQ42Wua9c+HV2Z5831ORlNwJp NOMi6ZAwvcJnuVY66E3Bm2CUy7rGiXKDbB3JM6adFK24SfknZwbjcD8S/reJLsD8v2Mg le8sr03m37n/OF/fZZWo1nxWQFEJ0mQfJKDiXMA3FB3Gen92zovF2ECGCGnbBeGcEFGH oqDg== 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 w16-v6si4205953pge.9.2018.09.29.05.14.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Sep 2018 05:14:41 -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 468A6D9F; Sat, 29 Sep 2018 12:14:41 +0000 (UTC) Subject: Patch "x86/numa_emulation: Fix emulated-to-physical node mapping" has been added to the 4.9-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:41 -0700 Message-ID: <153822280123066@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.9-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.9 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:29:21 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.9/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) {