mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 131/131] memory hotplug: fix comments when adding section
@ 2017-11-16  1:39 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2017-11-16  1:39 UTC (permalink / raw)
  To: akpm, fan.du, mhocko, mm-commits, torvalds

From: Fan Du <fan.du@intel.com>
Subject: memory hotplug: fix comments when adding section

Here, pfn_to_node should be page_to_nid.

Link: http://lkml.kernel.org/r/1510735205-22540-1-git-send-email-fan.du@intel.com
Signed-off-by: Fan Du <fan.du@intel.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 mm/memory_hotplug.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN mm/memory_hotplug.c~memory-hotplug-fix-comments-when-add-section mm/memory_hotplug.c
--- a/mm/memory_hotplug.c~memory-hotplug-fix-comments-when-add-section
+++ a/mm/memory_hotplug.c
@@ -265,7 +265,7 @@ static int __meminit __add_section(int n
 	/*
 	 * 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++) {
_

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-16  1:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-16  1:39 [patch 131/131] memory hotplug: fix comments when adding section akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).