Message ID | 20180917030445.484-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 AEFB81508 for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 17 Sep 2018 03:06:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A11EF292B2 for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 17 Sep 2018 03:06:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 94B65296AD; Mon, 17 Sep 2018 03:06:35 +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 10630292B2 for <patchwork-linux-mm@patchwork.kernel.org>; Mon, 17 Sep 2018 03:06:34 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 15B508E0004; Sun, 16 Sep 2018 23:06:34 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 10B6E8E0001; Sun, 16 Sep 2018 23:06:34 -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 EEE158E0004; Sun, 16 Sep 2018 23:06:33 -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 AB3A48E0001 for <linux-mm@kvack.org>; Sun, 16 Sep 2018 23:06:33 -0400 (EDT) Received: by mail-pf1-f199.google.com with SMTP id w19-v6so7981979pfa.14 for <linux-mm@kvack.org>; Sun, 16 Sep 2018 20:06:33 -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=bvt0hQcqVr1Ki4mB7XA1o6hxV/sKnJYzAi4kSxxmlpsnXXD3bXCgpmYrIgdV5LO4Uy 4HDhei4M7iqx/sm+Ng6lXBvL4tynCthDV3/BDy6ZIi0/T41BJ8aglOAQfqDjLf//jGzo U8xyLaMVo0oT6ykhdQBUzyscDmHps98op9ZhYoVi4lt4MBW2Sy2zQyRR1NFBb0lCIfGO UUIUGznN2qtk9TSyjzIS0VU78Z79qzNRrK4daFuuM3a/ypCpk2cnKcE5VVeYUG2XIw1D a6jH6CMXMGChHSuhbuWgtHFwW3fDRLtJypRO34+mBCk3kJKlmRZrC2gEVXsPENzGvMRm /96Q== X-Gm-Message-State: APzg51DRXyl1WrdT1kaCufcAViVZUVUEyJZe85Wn/uLy5/6lGLjBmsjA p4YVPy5u5nr/N+ei4tcYIaubO3dVEft6AlKPXq/mTo+MO3VCc2eS/ALnNfns78oV3Kh+HfdHzSJ 2LgVNKcphjvHArqp/73Z0yyCj8EWZm6T3aTNH70K4d7lwsbXLHmNS26pQTs+NHHtH8Q== X-Received: by 2002:a63:da04:: with SMTP id c4-v6mr21913656pgh.398.1537153593388; Sun, 16 Sep 2018 20:06:33 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZu3XoU/qAkZ/JVdKqnNDKF+aNv9yIEW6rOn75npm5Itd885OmmCFGYm6LAGzrpDzmdqwf7 X-Received: by 2002:a63:da04:: with SMTP id c4-v6mr21913625pgh.398.1537153592605; Sun, 16 Sep 2018 20:06:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537153592; cv=none; d=google.com; s=arc-20160816; b=EoPp1olAVksZndUZ2vFPPUwZmQJDVNFa9fQPEztnQ/htVL1Z0dK3+qZOmCRXN1sQiY Mwo9CM2Z3GK45mF1W4mU68t66tS9MGtz0ESmL5LS2in0zViZd+T//i37ozfUlBjYfcQD y0DAHx0cr3th9UmIamJOTtz3swLJqDY7S+Zl7osYbWBuIIHuDY2ANkA5vEpQjT2BJd/4 IHukHJUXAYEXZzuzMz21QgsW7cNtgIG2EVHn2OkPkBiyIuKKAPgzypXnZiuHdGOVP6gx 5IwrQwhITKKkK/ypCwcLMaU2DzyfflRJqJBrj4q/9iE3xEKakV3JCmiulWV1+GfGwS9A IKfw== 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=cpaK+lSbK0QOB3SlNKOEHxqtkW9FEXJ56u4y1ASLA2WzIoj8opvh30kCfQTkH9HHUE m/GcADdc5MEPQILq3SC6IcjUIc/6MoNRLv8Y2JUBo0MlsTqD/gpQcilNuj88dsDVdbk9 ViFsNBEdXlV1U05mL1SFyaRzqtkiXfhUFkbXR3WIPXykg0nSZ/7ea5k2XpXyQ7KPs9oG 6fzMhK0LSkWlb1rTfBcyAQ4ivTGwxPRvQLGGhU69ymnp5e4LHP/MslsxFgITRkicuB16 AdNnZVvqvnUR4CdTGaTqLrXQnBuMtbFraRBgMe2QbmXz0wjcDbe/vCcycRWHJSnHl5Yr H1Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=or86A8RW; spf=pass (google.com: domain of alexander.levin@microsoft.com designates 40.107.69.136 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-eopbgr690136.outbound.protection.outlook.com. [40.107.69.136]) by mx.google.com with ESMTPS id s20-v6si14191696pgk.87.2018.09.16.20.06.32 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 16 Sep 2018 20:06:32 -0700 (PDT) Received-SPF: pass (google.com: domain of alexander.levin@microsoft.com designates 40.107.69.136 as permitted sender) client-ip=40.107.69.136; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=or86A8RW; spf=pass (google.com: domain of alexander.levin@microsoft.com designates 40.107.69.136 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=or86A8RW81/mNsfCOvEOhNYlYN0I7viKZLfY1pxjlOqz2KNNchvdNVQtVv32XKJ8v52CjpDCAPesZ6Q4rPwXMoTRfy+ZvDvFeM+gM8hXCz0DCe3OdHHfZBpVQI0xnr//EEzeYNJDscF64TsaM2A+nMYOYFt8LO6pEDzAEY/Deds= Received: from CY4PR21MB0776.namprd21.prod.outlook.com (10.173.192.22) by CY4PR21MB0166.namprd21.prod.outlook.com (10.173.192.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.12; Mon, 17 Sep 2018 03:06:31 +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:06:31 +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.4 04/43] x86/numa_emulation: Fix emulated-to-physical node mapping Thread-Topic: [PATCH AUTOSEL 4.4 04/43] x86/numa_emulation: Fix emulated-to-physical node mapping Thread-Index: AQHUTjMzmvi+6bOoZES8pF/9dsRxJA== Date: Mon, 17 Sep 2018 03:04:51 +0000 Message-ID: <20180917030445.484-4-alexander.levin@microsoft.com> References: <20180917030445.484-1-alexander.levin@microsoft.com> In-Reply-To: <20180917030445.484-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;CY4PR21MB0166;6:o8sUujSDwLsm5l+LK2YOyDJyutULlWPs2GrfRyP/r22B1Aknw7eo3SdRbV4Zp4mwaR+KgF0x3DGFyW2pb+JqiSAzOS9YdpLNSAyO/xVv329K0o5iZWXOlXdG1e1dinS1JtgcTzd21eTP9duPnGA/VzNeI43+hjRtNzHe1itGHyXemLOnsBA/SYL7bsxm/ANeOpaBP23BY29R4CB1oRnQk1p7wfA50zyqe+td5NWlfcnfusi9woDQh0aQaDtzVBA8QN5/DyveFvl0chNkPKyOha6cq6KGI+H2v/7DltgZZ9MLisWPEjNsZOaNE2NSGOcShqt4HUlXNclaKZ3yUWy5R+2bxAYXvqpyc2fJoGlnuLPU/J5BQscAPy5IQ39TLQlUcQu7kDZYgEH2sw7NN0cDMweCuPyaIlg5CztraZhB6lcZe+xU6mPoBJzJ1TQ/imawYdzEfGadP+EvFQLcOdaYQA==;5:EuSWVlk5HShvJjLXKLJPDLJOqzhZpGxKEBp48FCVRJjzxhwPkWWR2dr0bCqMhWDzBZeIjBhJ0dFW1WLagMMdf3b3lAXEZd725sJwIeDEweLi+whqapQ6nwDElS+eXr3q1gQu4V047Aoh1Zsr2EXfxQlLnFdRfh6Y27NZw6P/qMc=;7:7Yld6cIThAt38hfOp1FJKQWFBzNcGjgLXTvLcGNeZ87iGNBcfBC9O0IWBxgzI+X82WcSGbX5nxvUlPdjL2U5/bL0RINKSSjR3DebocHDNBfy+usL6QVmor78VgJXwB/bPHyhB05swhazFbRWgEieLROlqsGd3NR0x6oi1VsqBJxuyEABTRt3Zd0G/CtyR+/ekwkRkH+4VCA3w60l4F0FMD8zT0oOBFQxUHTaxPSXZ4DR9jTmouy1Qmg4d7qnkC2D x-ms-office365-filtering-correlation-id: d99dd4db-3ef1-4c65-cecc-08d61c4a9154 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:CY4PR21MB0166; x-ms-traffictypediagnostic: CY4PR21MB0166: x-microsoft-antispam-prvs: <CY4PR21MB016611CA1D6DEA7420F2C02BFB1E0@CY4PR21MB0166.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)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231355)(944501410)(52105095)(2018427008)(6055026)(149027)(150027)(6041310)(20161123560045)(20161123558120)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699050)(76991041);SRVR:CY4PR21MB0166;BCL:0;PCL:0;RULEID:;SRVR:CY4PR21MB0166; x-forefront-prvs: 0798146F16 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(136003)(346002)(366004)(39860400002)(396003)(189003)(199004)(305945005)(256004)(14444005)(217873002)(486006)(186003)(966005)(86612001)(66066001)(7736002)(6486002)(102836004)(6512007)(2900100001)(25786009)(7416002)(14454004)(6666003)(2616005)(476003)(39060400002)(1076002)(97736004)(86362001)(6436002)(6306002)(5660300001)(6346003)(316002)(2501003)(6116002)(76176011)(6506007)(105586002)(8676002)(478600001)(3846002)(106356001)(53936002)(68736007)(72206003)(446003)(22452003)(5250100002)(81156014)(8936002)(36756003)(10090500001)(107886003)(4326008)(110136005)(11346002)(99286004)(81166006)(2906002)(26005)(54906003)(10290500003);DIR:OUT;SFP:1102;SCL:1;SRVR:CY4PR21MB0166;H:CY4PR21MB0776.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A: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: UnNpUei59kXFDspIkl6QDs+AM6phQCGn1cZSgyyijQ6mXRWIlxTB7U+JfdQ0FXYH1Nd/7xqEPKIsYYJtOwgiRmy14T15ePamfSdKhKI9YNnEdsPh8i96mfgqldFtf6V0MM6XvUNQIybi2NyDhM6LLbPw9v9m+twquXFHC6l9H1TALC2cSP+l6f9O6CK/Y3B4W+xIrVmJhaKIn8g+4iKAAgW/m5EhM7WvwugecPXzReegil7nQ6aC3WEh3VluleVURojwvbgzi1Sfo9T3HFRD1j5RfrVr9zAbDra96VAHiylAuIwMPocyeVB2Yqu6e2rcupBlIbU0rm9yu9jYhk4xBj41qrn+rCY22XJpaoSIIvI= 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: d99dd4db-3ef1-4c65-cecc-08d61c4a9154 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Sep 2018 03:04:51.3049 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0166 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) {