Skip to contentSkip to conversation

mm-meminit-remove-early_page_nid_uninitialised.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 29, 2016

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm, meminit: remove early_page_nid_uninitialised
has been removed from the -mm tree. Its filename was
mm-meminit-remove-early_page_nid_uninitialised.patch

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

------------------------------------------------------
From: Mel Gorman <[email protected]>
Subject: mm, meminit: remove early_page_nid_uninitialised

The helper early_page_nid_uninitialised() has been dead since commit 974a786e63c9 ("mm, page_alloc: remove MIGRATE_RESERVE") so remove the dead code.

---

 mm/page_alloc.c |   13 -------------
 1 file changed, 13 deletions(-)
mm/page_alloc.c renamed from mm/page_alloc.c~mm-meminit-remove-early_page_nid_uninitialised +0 -8
diff -puN mm/page_alloc.c~mm-meminit-remove-early_page_nid_uninitialised mm/page_alloc.c
@@ -295,14 +295,6 @@ static inline bool __meminit early_page_
 	return false;
 }
 
-static inline bool early_page_nid_uninitialised(unsigned long pfn, int nid)
-{
-	if (pfn >= NODE_DATA(nid)->first_deferred_pfn)
-		return true;
-
-	return false;
-}
-
 /*
  * Returns false when the remaining initialisation should be deferred until
  * later in the boot cycle when it can be parallelised.
@@ -341,11 +333,6 @@ static inline bool early_page_uninitiali
 {
 	return false;
 }