Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1729273yba; Thu, 25 Apr 2019 04:55:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqwES1F9tbTvu9ic/m0MyW3AGvM3oEWkqL2tkbA2VBs2OfrkRuxAiGYtkxBKIYbPJI3STEdx X-Received: by 2002:a65:500d:: with SMTP id f13mr19255913pgo.250.1556193358737; Thu, 25 Apr 2019 04:55:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556193358; cv=none; d=google.com; s=arc-20160816; b=OKrO5wv/SN07tw7lXcaOdbmMuPGT3z9Dq1+w2WxVnccQLEUaaWcilCl/YbVqKtEhtu den/WvyqV864Zzx1ETYVzVg3rr3l/guAtmDfnXjQWlOBxXFqOlS87ZTcFyn3bdt33zvw sJoc+H1mOeeypSx2hPNTSP56h78wc/B0jY3cLYqpsyfh+LElcYNOY+E7Wr/vOHsLkUbg yR6SIh3Bk5gipFnaQBWijal8OVTuGSiESW3dArACYMYJAIchcOnUIBlnd1QmsJeWKu5/ O7XPwz0E5EKlMfIGd2AMdSwU49yZnxvkg3yjuua6c2Morp+K0rqJT/aNU0O5rNBPN43Q fJrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=cjRxgUuUWVSMsnI9DqRNDNjwymo67GiiFEu+mWS/lr8=; b=TOsBR77oPsCvhGNezYm1YFlj9gRWM2pw509X2n4BqNQPO2IKilhqpjSenw077iMOBY aji65kFONmU6iKK3jO8wBSB5dkAKG8ZdFed3gqJK4R/PhZozZaDU80mvuP2rNs+r1mMU 2aN5dw5NyEqLdJR4XlAjIskzw5bedx+CXQtbshrQZ8yD0eQcA64btT9Uy/NLR1fkWfxr dImFzYlbMRBlJnbtTSj+w3lE7P91KRWBO3QM9SeRpkohQccIQXwCGIfMspUAjQ1QNxe+ gDNrQVCXHgVo9sLQ7S2rWog+vmAMNgXJLM3ly5Pr9sPw4VpetPkhenPssPUJOY816RRw EaNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c68si8345418pfa.56.2019.04.25.04.55.30; Thu, 25 Apr 2019 04:55:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388267AbfDYBmv (ORCPT + 99 others); Wed, 24 Apr 2019 21:42:51 -0400 Received: from mga11.intel.com ([192.55.52.93]:25341 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388217AbfDYBmr (ORCPT ); Wed, 24 Apr 2019 21:42:47 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Apr 2019 18:42:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,391,1549958400"; d="scan'208";a="152134226" Received: from zz23f_aep_wp03.sh.intel.com ([10.239.85.39]) by FMSMGA003.fm.intel.com with ESMTP; 24 Apr 2019 18:42:45 -0700 From: Fan Du To: akpm@linux-foundation.org, mhocko@suse.com, fengguang.wu@intel.com, dan.j.williams@intel.com, dave.hansen@intel.com, xishi.qiuxishi@alibaba-inc.com, ying.huang@intel.com Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Fan Du Subject: [RFC PATCH 3/5] x86,numa: update numa node type Date: Thu, 25 Apr 2019 09:21:33 +0800 Message-Id: <1556155295-77723-4-git-send-email-fan.du@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1556155295-77723-1-git-send-email-fan.du@intel.com> References: <1556155295-77723-1-git-send-email-fan.du@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Give the newly created node a type per SRAT attribution. Signed-off-by: Fan Du --- arch/x86/mm/numa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/mm/numa.c b/arch/x86/mm/numa.c index 3c3a1f5..ff8ad63 100644 --- a/arch/x86/mm/numa.c +++ b/arch/x86/mm/numa.c @@ -590,6 +590,7 @@ static int __init numa_register_memblks(struct numa_meminfo *mi) continue; alloc_node_data(nid); + set_node_type(nid); } /* Dump memblock with node info and return. */ -- 1.8.3.1