Received: by 10.223.164.202 with SMTP id h10csp366186wrb; Wed, 15 Nov 2017 00:45:36 -0800 (PST) X-Google-Smtp-Source: AGs4zMbbaJXAN/gWRcWLrq5qqfkCABzPt/MyBtFpXfHPzzmd+4kmLbA1JeNEFt1BZ1K63XZzQhGM X-Received: by 10.101.82.76 with SMTP id q12mr7979000pgp.140.1510735536304; Wed, 15 Nov 2017 00:45:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510735536; cv=none; d=google.com; s=arc-20160816; b=HuHZJoJkmRwMB8Zt37FD3UICqnD0gwASTRKxCfO4zU3nixSDYR0+KeLlqNpwQ4wxCW MwxBQpvS8av3pQPdrR0us9C3qAfrPax2EcGB8W+vcb/Hl7WkHwVafQk//UH9NNTTKhLT 8inYFDkigeFrXzEtUMSpJPDhzass+0X7jHB0soRwWoO7YDnQ44fO3HSK/RYyaw6evv8d pM12cZW1WdV0CcsU0eCnQbsos+IhiOZ5B3ddZVaGAc4XN0GayvdfCgRZePpvJp12rkCK rP5qOTnWE3etwOHkeyNypCKCb4QvnMj/qowIb00FLzJdJYMFsGKovdGnrBbhcAuwSptn N2aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=25VerK7UQC+YrQBAsgws+8KpR/Yr7vPPG8+Iy4PBvkk=; b=0lJwXLwoDVD13aCQjgDqRMRZubcttvSacxq+rOKle/tcZAUAy9KgI+nX6tk8xGDOph qmpOgYp7ZErIwQOtEO7q08sm2rlHO47QpM7eXvHJAeQHpHkSvYJ8GJd1KpFXcQiLEYVG UJxfwa8SJQtr2+XkQyZ5tQNitnXI+lcnKfOT0UpIzzHey/gA3a8IsAh07T4TC0PbputO vJ4jKBa2E88etdf81YBWB0OLAIO69GJDRQb1tPzkUdFOlhVtIhEk67ztWDKagvakeZij uaku0sRrn7cgTb6kvlzVcUii/sFNhEysSG2S9KnaC107wWLhYYbErj+T41ohlHD+fcWV uiiw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u9si17251692pgc.615.2017.11.15.00.45.24; Wed, 15 Nov 2017 00:45:36 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755382AbdKOImw (ORCPT + 88 others); Wed, 15 Nov 2017 03:42:52 -0500 Received: from mga06.intel.com ([134.134.136.31]:5649 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752551AbdKOImr (ORCPT ); Wed, 15 Nov 2017 03:42:47 -0500 Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Nov 2017 00:42:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,398,1505804400"; d="scan'208";a="175969642" Received: from zz23f_aep_wp03.sh.intel.com ([10.239.85.176]) by fmsmga005.fm.intel.com with ESMTP; 15 Nov 2017 00:42:45 -0800 From: Fan Du To: mhocko@kernel.org Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, Fan Du Subject: [PATCH] memory hotplug: fix comments when add section Date: Wed, 15 Nov 2017 16:40:05 +0800 Message-Id: <1510735205-22540-1-git-send-email-fan.du@intel.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Here, pfn_to_node should be page_to_nid. Signed-off-by: Fan Du --- mm/memory_hotplug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index d4b5f29..c3c1c57 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c @@ -265,7 +265,7 @@ static int __meminit __add_section(int nid, unsigned long phys_start_pfn, /* * Make all the pages reserved so that nobody will stumble over half * initialized state. - * FIXME: We also have to associate it with a node because pfn_to_node + * FIXME: We also have to associate it with a node because page_to_nid * relies on having page with the proper node. */ for (i = 0; i < PAGES_PER_SECTION; i++) { -- 1.8.3.1 From 1584527320867292219@xxx Sun Nov 19 20:23:29 +0000 2017 X-GM-THRID: 1584527320867292219 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread