Message ID | 20180917030340.378-4-alexander.levin@microsoft.com (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 C49181508 for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 17 Sep 2018 03:05:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A5822292B2 for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 17 Sep 2018 03:05:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 996BC296AD; Mon, 17 Sep 2018 03:05:41 +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=-3.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 165882969C for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 17 Sep 2018 03:05:40 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A88448E0005; Sun, 16 Sep 2018 23:05:39 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id A336C8E0001; Sun, 16 Sep 2018 23:05:39 -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 921F78E0005; Sun, 16 Sep 2018 23:05:39 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by kanga.kvack.org (Postfix) with ESMTP id 515CF8E0001 for <linux-mm@kvack.org>; Sun, 16 Sep 2018 23:05:39 -0400 (EDT) Received: by mail-pl1-f197.google.com with SMTP id c5-v6so7304250plo.2 for <linux-mm@kvack.org>; Sun, 16 Sep 2018 20:05:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:dkim-signature:from:to:cc:subject:thread-topic :thread-index:date:message-id:references:in-reply-to:accept-language :content-language:spamdiagnosticoutput:spamdiagnosticmetadata :content-transfer-encoding:mime-version; bh=x6EFB+hxxf/uX9T9lsQKkr7PTWDd6uMzxiXGp3m/DjA=; b=bFUJ3y/T+mWM+6sZ5XB8LtKv4nzF43OgbRLjbV9LcHB9Vnotq+FO1rY5YX0y82Oxc9 koeBQGcYq/yPn+0LSOhvtd3krLGGlLH5GNuKjnuDvxejG5Cd/7DQ+ggY15TyzNMa6HOu zPAef5PwJYJn27FbZen6b5RVX+gy0yWxHbTFf1KVU0ryciMsJderezDR2bsj/Q2L50UA fePhkPuRJ5vKtvVkFmegEWVJ20i53x32JB5UQU+4JX3yFc4rKYI4T4EszwJcslLv8qUV JL/a1RU6RXXiM/iF2yjCVrzhKv8OuqXs0+MfzMnGjo6x37QqVmMBV9tGwsJ30N+5w4+E Ir9g== X-Gm-Message-State: APzg51Cq0Tcm+9bojM8VtTpl82dGIyls1SyvO0K5WzSNrs3eJNSYijDV 7Hk7hyjcu0aMst+OFId8gxhviYu2LkIniVq3Z3LENoA3NnUpYALCfOw+X5/3vMIM4FFwk02AXUb yYoDrACs5VNOFeQACaS97aZ22xDpKgoxwo/CC285QeBZ8gzSZt+2A8zj9MuDDXs02Zw== X-Received: by 2002:a65:614a:: with SMTP id o10-v6mr21648927pgv.387.1537153539016; Sun, 16 Sep 2018 20:05:39 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZxujehlhX0bKQtrA+n3QvmWPpbdgvOOh3DVQU9MrN16P36Z9Q8uPQhhksPwRRnALsJm0nU X-Received: by 2002:a65:614a:: with SMTP id o10-v6mr21648891pgv.387.1537153538281; Sun, 16 Sep 2018 20:05:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537153538; cv=none; d=google.com; s=arc-20160816; b=EXz8fhh4HiFnOz1bpT72IHiMxBXvaIMbxgYRJFLjUvwX5yBW41rqwdBiBI40LgKqma PpbLUcW9I7PJeefSxkKKtjgfxZ0MlgvmDilKdjVADuMriv9/UfJBnlgf4pr1eQuu9hxD UtYUZfw2datHB2CqULf0mRLM06nT6gz2ybq3NV1HFmFb2SqUxGcLf1gaGDY8T5MEC9FG bIn2MjN20T7EuqwyP6O//sEwfQQQeCAOQ4E4jBPUavFfQAlhmt2MZxs8tuf7lb+9PHW6 4EPK/eTPcBMqKDNDKk+f2EDrm313HJ6/tP69PfCzJK1lBVgEPPBIeqTd81G/T+nMA0mq 2/QA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:spamdiagnosticmetadata :spamdiagnosticoutput:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=x6EFB+hxxf/uX9T9lsQKkr7PTWDd6uMzxiXGp3m/DjA=; b=qc7OlltCaVWFd8eFgKMm7ta+UtK/5ouLbRCIaMb8ksIy1Nr9Nt0ioMrA750YmxYHMi Tf01W9InIYPGHWU7pDZ2cc90JulNhzfoHIkt52yKz0QKxx00nNhzsyIh44wOqQ4efdSw 0jv/RnPlT4ZRilReiBvlXhvm7cjgkiTI35I90LilQk4FDbv++V/F7egY9X6kZ2vMina6 rMpLbLxRJDifE86hoRs42X4JTKi5XK30XSbEUgdjMpm1PSCrGsPT/dFKEcofe8LIIMyV WvCvBgXE8cR6W3wwlakajJqeV+jt1nK/STghwXiTzUfPcgxG9981JhdgUFSfcYPmRESu lEkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=WtbYFcfn; spf=pass (google.com: domain of alexander.levin@microsoft.com designates 40.107.69.113 as permitted sender) smtp.mailfrom=Alexander.Levin@microsoft.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: from NAM04-CO1-obe.outbound.protection.outlook.com (mail-eopbgr690113.outbound.protection.outlook.com. [40.107.69.113]) by mx.google.com with ESMTPS id t80-v6si15339436pfk.228.2018.09.16.20.05.38 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 16 Sep 2018 20:05:38 -0700 (PDT) Received-SPF: pass (google.com: domain of alexander.levin@microsoft.com designates 40.107.69.113 as permitted sender) client-ip=40.107.69.113; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=WtbYFcfn; spf=pass (google.com: domain of alexander.levin@microsoft.com designates 40.107.69.113 as permitted sender) smtp.mailfrom=Alexander.Levin@microsoft.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=x6EFB+hxxf/uX9T9lsQKkr7PTWDd6uMzxiXGp3m/DjA=; b=WtbYFcfnbSIM0AxZaixeuWDAgUBp8He6P43vFd9KOcKts7h/gjF82/IUu6JqK9Z7AM2OuqhujRsyr0TM+BAgUN9XcGFOJA3vAgHZ/Gp+ZGLsZMvDG0NJkizbDU0/AT5qu+Y0sEWP1emxzp2dKfRKM+4WGlxd0LRPAsJzjqNSjuM= Received: from CY4PR21MB0776.namprd21.prod.outlook.com (10.173.192.22) by CY4PR21MB0120.namprd21.prod.outlook.com (10.173.189.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.4; Mon, 17 Sep 2018 03:05:36 +0000 Received: from CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::54e2:88e0:b622:b36]) by CY4PR21MB0776.namprd21.prod.outlook.com ([fe80::54e2:88e0:b622:b36%5]) with mapi id 15.20.1185.003; Mon, 17 Sep 2018 03:05:36 +0000 From: Sasha Levin <Alexander.Levin@microsoft.com> To: "stable@vger.kernel.org" <stable@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> CC: 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" <linux-mm@kvack.org>, Ingo Molnar <mingo@kernel.org>, Sasha Levin <Alexander.Levin@microsoft.com> Subject: [PATCH AUTOSEL 4.9 04/57] x86/numa_emulation: Fix emulated-to-physical node mapping Thread-Topic: [PATCH AUTOSEL 4.9 04/57] x86/numa_emulation: Fix emulated-to-physical node mapping Thread-Index: AQHUTjMMGfqWOa3mOUOx1VC6sY7vgQ== Date: Mon, 17 Sep 2018 03:03:46 +0000 Message-ID: <20180917030340.378-4-alexander.levin@microsoft.com> References: <20180917030340.378-1-alexander.levin@microsoft.com> In-Reply-To: <20180917030340.378-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;CY4PR21MB0120;6:pWXBnYWLLsIKceKSB1QA5AfINxBExUEH4y9vH90MgeqPeCjuwGUqWlb12W/0HeXZtJq9Y73GuJPsb6aeE90PnGwCU1AMxcfsJrSCte6W7h+TXZCwe/e7wQdyJqXzdFSwFXMpchASlY668rlAgwOSHO75Qr1jbP4xUrQTh8/1LaNEffIupMBPNAFkIXVly1Z01qXf25u8lBm3UDce3Ah04ALD5hvyGMxYKmbBPQi+DWF0BK8S6yjBIKS6ESeMIPUcgOdG+ekS8smmoT5prrkvos/86UCuYo6d469Adq1AEzgu4TeTml7CztqztR2dd+QkIECKEhFtMtL2pq2k+yfad5UOWBQHNkDGu2OziRYqFGGxeYphlZTeJs6/SbRkehoL4HBRJ6JhVCLzT3EVleJyjbzOgWRoHXX4jU9xlVBsKRFo6IZrpZMDMU2cOQ8At3fR9eQV9ogQ9AhK2GN5yhFpYA==;5:tEMzfmhr6SbWkTGZ/xwhir+d55rhnATNSD7g2kaBzQhL6rQeUt5vjaj/7E18v88BHgkaTmCHt1XCJPlxwffFsRvF4UOpPzvsQDjbp059Of57MM/kIdI6C+RwWpI4bz3M9QfFXKlfQXxn1aW2I0hFMLEB/XCRz6nbsfne8zT7dfg=;7:njzzWVE6FhFzvJF++s1l0YY8auSKTGvNV2QgObAPdQnTqBT3aOYnJFlChTO4javnOscI1bD1KFrCWMBxRG6tm+n6qZbgFz0rzgXdlE5buSinIAOvTqhvyXJRlQ9IRtfSUXW+6LEP8ZQFSp9N3BXg15Rf5cxqi8mBBpgF5j3GSDxynq9giV2qrViCXziT/7Ek90judxfK89YLHHfKWPUWAxRg6bpApNkAj1M/36gcnRPgT6yTYuKNcUQXyzqCxuar x-ms-office365-filtering-correlation-id: fc99dec9-ea05-4b6b-6794-08d61c4a70e1 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7193020);SRVR:CY4PR21MB0120; x-ms-traffictypediagnostic: CY4PR21MB0120: x-microsoft-antispam-prvs: <CY4PR21MB0120B1776B1DE951C74BDA28FB1E0@CY4PR21MB0120.namprd21.prod.outlook.com> x-exchange-antispam-report-test: UriScan:(42068640409301)(228905959029699)(211936372134217)(153496737603132)(85827821059158)(28532068793085)(89211679590171); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3231355)(944501410)(52105095)(2018427008)(3002001)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699050)(76991041);SRVR:CY4PR21MB0120;BCL:0;PCL:0;RULEID:;SRVR:CY4PR21MB0120; x-forefront-prvs: 0798146F16 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(396003)(376002)(136003)(39860400002)(366004)(199004)(189003)(54906003)(26005)(110136005)(446003)(2906002)(6346003)(99286004)(316002)(86362001)(25786009)(102836004)(10090500001)(2616005)(2900100001)(76176011)(97736004)(36756003)(11346002)(72206003)(966005)(478600001)(10290500003)(3846002)(6116002)(1076002)(22452003)(107886003)(39060400002)(5250100002)(2501003)(86612001)(4326008)(217873002)(105586002)(106356001)(6486002)(14444005)(14454004)(256004)(6436002)(6306002)(8676002)(305945005)(8936002)(7416002)(6506007)(81156014)(81166006)(7736002)(476003)(486006)(68736007)(186003)(66066001)(6512007)(53936002)(5660300001)(6666003);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR21MB0120;H:CY4PR21MB0776.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: dNqd4LW4OVBfSmTLMXfz5nPM2rllEWVQdX7sglCjfgjd9NIixuRGvahYSLWXCwgUsTcOe5QRP8JkTMqnMsxxedgUWPwCuwym9eD0/KsdBPIky2ogRuvvFLNgozVVu6Q2X0LSzlPvSCh3NUuuH5UJAnP1hj4EmYE+dB/3j+gG5aR8yyNY3xREYKPoq6cBII5ozhTS3zdcs97euBe+FH6m6ocYFObwwM6nbnnRlLxgEQFRnGLeAbTYqwoRe4eEq1vn2U7qc+EodNp9FFsKdM6wzmiOfiuCGrNyMzAIRdDzeSo98WCn/DYpKy492wbvKSTAG0GkjMOFB8G1+OyWzMfU4TIa2YYdYDyl27vK3fP0MhA= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: fc99dec9-ea05-4b6b-6794-08d61c4a70e1 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Sep 2018 03:03:46.4930 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0120 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
|
diff --git a/arch/x86/mm/numa_emulation.c b/arch/x86/mm/numa_emulation.c index a8f90ce3dedf..dc6d99017f3f 100644 --- a/arch/x86/mm/numa_emulation.c +++ b/arch/x86/mm/numa_emulation.c @@ -60,7 +60,7 @@ static int __init emu_setup_memblk(struct numa_meminfo *ei, 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) {