Skip to contentSkip to conversation

mm-memory_hotplugc-use-pfn_to_nid-instead-of-page_to_nidpfn_to_page.patch removed from -mm tree

merged [email protected] 1 participant 1 message Nov 13, 2013

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

Subject: [merged] mm-memory_hotplugc-use-pfn_to_nid-instead-of-page_to_nidpfn_to_page.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Wed, 13 Nov 2013 12:38:03 -0800

The patch titled
Subject: mm/memory_hotplug.c: use pfn_to_nid() instead of page_to_nid(pfn_to_page())
has been removed from the -mm tree. Its filename was
mm-memory_hotplugc-use-pfn_to_nid-instead-of-page_to_nidpfn_to_page.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Xishi Qiu <[email protected]>
Subject: mm/memory_hotplug.c: use pfn_to_nid() instead of page_to_nid(pfn_to_page())

Use "pfn_to_nid(pfn)" instead of "page_to_nid(pfn_to_page(pfn))".

---

 mm/memory_hotplug.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/memory_hotplug.c renamed from mm/memory_hotplug.c~mm-memory_hotplugc-use-pfn_to_nid-instead-of-page_to_nidpfn_to_page +1 -1
diff -puN mm/memory_hotplug.c~mm-memory_hotplugc-use-pfn_to_nid-instead-of-page_to_nidpfn_to_page mm/memory_hotplug.c
@@ -934,7 +934,7 @@ int __ref online_pages(unsigned long pfn
 	arg.nr_pages = nr_pages;
 	node_states_check_changes_online(nr_pages, zone, &arg);
 
-	nid = page_to_nid(pfn_to_page(pfn));
+	nid = pfn_to_nid(pfn);
 
 	ret = memory_notify(MEM_GOING_ONLINE, &arg);
 	ret = notifier_to_errno(ret);

_

Patches currently in -mm which might be from [email protected] are

origin.patch
linux-next.patch