Message ID | 20181002132500.761964338@linuxfoundation.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 739BE15E8 for <patchwork-linux-mm@patchwork.kernel.org>; Tue, 2 Oct 2018 13:35:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 753E4289C0 for <patchwork-linux-mm@patchwork.kernel.org>; Tue, 2 Oct 2018 13:35:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6894F289CE; Tue, 2 Oct 2018 13:35:42 +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 F2761289C0 for <patchwork-linux-mm@patchwork.kernel.org>; Tue, 2 Oct 2018 13:35:41 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0533F6B0278; Tue, 2 Oct 2018 09:35:41 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id EF7776B0279; Tue, 2 Oct 2018 09:35:40 -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 D98C76B027A; Tue, 2 Oct 2018 09:35:40 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pl1-f199.google.com (mail-pl1-f199.google.com [209.85.214.199]) by kanga.kvack.org (Postfix) with ESMTP id 940046B0278 for <linux-mm@kvack.org>; Tue, 2 Oct 2018 09:35:40 -0400 (EDT) Received: by mail-pl1-f199.google.com with SMTP id 43-v6so2175477ple.19 for <linux-mm@kvack.org>; Tue, 02 Oct 2018 06:35:40 -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:from:to:cc :subject:date:message-id:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=qzlNqCghwYvkLnCbgko/R004qoylvHNKrJX2pr5AdCQ=; b=fcB8zhvDx+GXn8/BGQirj/3YPQRIcFZEFcNdRcB+vEpm0/YYT2e+s2me6wO8Ef2K5W lpPq66UOb782tnazylZjw+vrY9kxqBGjvGRxUVU9djZln4U4eAJodekoQJMjQZVOIRV8 Pna7eAgbU61308JrsGP0+E6ZYgoYzYYWAMcjngGK9Q7z5lLncLfZzSX6S9dehRFNiZGP v3Bm6ZSigsysF6VbQteieUJ8UytHs3etmM2IAwewkTwiluGi6ccD1QBqTw6Uhlcnxh+/ Vb94ehZZfYNk114ehZEiW+mfSYlMnWJfs8FKKBaFbW5QWGKD/NxeZvQ7aY4ElUHTqRM/ 8NuA== 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: ABuFfohkFpCiDM6PpGapBD6atJsmZfYB8KrMiYl+f/GGoVvTVMW4KPmj CIR4ShWIHaBuYTJ6Q2NHhw5cxhTNHQlBFKaWVQ2lnlpzQ56HxD+llKXLLduFQ1u4SaKmFxfAJmR HGahuFvrIw7Yg0dRZ1YwWFH3E2XpKqWzeF6WzfBhhS6nuLJE4ePk7h59kgknuJpNjkQ== X-Received: by 2002:aa7:86cc:: with SMTP id h12-v6mr10292370pfo.58.1538487340309; Tue, 02 Oct 2018 06:35:40 -0700 (PDT) X-Google-Smtp-Source: ACcGV60aG/EdUn8WZ62PiZglGMlPAmKjJ8bNNECxUn65AJyKPuP8jNnaF0ZIueO6KW3KdEyG76jv X-Received: by 2002:aa7:86cc:: with SMTP id h12-v6mr10292322pfo.58.1538487339617; Tue, 02 Oct 2018 06:35:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538487339; cv=none; d=google.com; s=arc-20160816; b=XlHpOwSuxb44O7764XmjB+aCFzdV54I4Xwe5S5Eh414+Sl7ieZJyVIPbVPlHRgn/ql vtp7nebiX4tqWmy6psl5cbhVN7rj5E/CRFdkMuAbYNBRJ7n3yOZ8Qe2gL5vNsSQ6GdxE R3Ei5udVmgLKfIAb7P7x124WSxMg9hbGiGVmjY4DXr8l2a24JwbzubPGRUi4797dJWTi xokDtc3WVOGIUIAvGBHJ6SJcvSwM5R189KF5RJNAl3bF3iuENa8+/fkHJkKDEJ88qwkI hiCVLcphzDu0qGfOC+pf8oxsU/9ibyAzAIS8diVrd1BqbUaHWXE00H7hix7kf7RjSVlE tqJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from; bh=qzlNqCghwYvkLnCbgko/R004qoylvHNKrJX2pr5AdCQ=; b=qbqRn78zKmBEROuRjPl01WdFHTKupbnI2I9yef6JaTRApnVvTpCLHNCD3ZcNvF/Yx2 5/+XKDREtCJmcbM4gJqQJbrtSvTsOZFKbKWwv5F0CaZ+pXvYq3sGYlBi7ScF1velG5/O BU+xSJ6yH0rP0zub26jmuqpJccka/pXET5PetgxyWrsB3IkgK3+bTUHFWw6nf0PJ7Dj+ Tg6b7YKyZOxZZnE5JHrqqYzw0IlKQ1LRy1mJu1lOp+4YM5NdhBh5Y8s7TCsmZtBHneiC KKdK8xaq8dDxwfpIRxMjNQhB9fqc/iaOuhsAWVeg3BnXdt7hlwFMsN6VMoGm4JVLuj0f OIaw== 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 d1-v6si16122578pla.103.2018.10.02.06.35.39 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Oct 2018 06:35:39 -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 (24-104-73-23-ip-static.hfc.comcastbusiness.net [24.104.73.23]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 392ACB2F; Tue, 2 Oct 2018 13:35:39 +0000 (UTC) From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Dan Williams <dan.j.williams@intel.com>, David Rientjes <rientjes@google.com>, Linus Torvalds <torvalds@linux-foundation.org>, Peter Zijlstra <peterz@infradead.org>, Thomas Gleixner <tglx@linutronix.de>, Wei Yang <richard.weiyang@gmail.com>, linux-mm@kvack.org, Ingo Molnar <mingo@kernel.org>, Sasha Levin <alexander.levin@microsoft.com> Subject: [PATCH 4.9 04/94] x86/numa_emulation: Fix emulated-to-physical node mapping Date: Tue, 2 Oct 2018 06:24:18 -0700 Message-Id: <20181002132500.761964338@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181002132500.494838053@linuxfoundation.org> References: <20181002132500.494838053@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: <linux-mm.kvack.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
None
|
expand
|
--- 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) {