Skip to contentSkip to conversation

mm-tile-use-common-help-functions-to-free-reserved-pages.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 8, 2013

lore
Share & tools
lore
#0 lore raw

Subject: [merged] mm-tile-use-common-help-functions-to-free-reserved-pages.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Mon, 08 Jul 2013 12:26:12 -0700

The patch titled
Subject: mm/tile: use common help functions to free reserved pages
has been removed from the -mm tree. Its filename was
mm-tile-use-common-help-functions-to-free-reserved-pages.patch

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

------------------------------------------------------
From: Jiang Liu <[email protected]>
Subject: mm/tile: use common help functions to free reserved pages

Use common help functions to free reserved pages.

Cc Chris Metcalf <[email protected]>
Cc Wen Congyang <[email protected]>
Cc "H. Peter Anvin" <[email protected]>
Cc "Michael S. Tsirkin" <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Catalin Marinas <[email protected]>
Cc David Howells <[email protected]>
Cc Geert Uytterhoeven <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Jeremy Fitzhardinge <[email protected]>
Cc Jianguo Wu <[email protected]>
Cc Joonsoo Kim <[email protected]>
Cc Kamezawa Hiroyuki <[email protected]>
Cc Konrad Rzeszutek Wilk <[email protected]>
Cc Marek Szyprowski <[email protected]>
Cc Mel Gorman <[email protected]>
Cc Michel Lespinasse <[email protected]>
Cc Minchan Kim <[email protected]>
Cc Rik van Riel <[email protected]>
Cc Rusty Russell <[email protected]>
Cc Tang Chen <[email protected]>
Cc Tejun Heo <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Will Deacon <[email protected]>
Cc Yasuaki Ishimatsu <[email protected]>
Cc Yinghai Lu <[email protected]>
Cc Russell King <[email protected]>

---

 arch/tile/mm/init.c |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
arch/tile/mm/init.c renamed from arch/tile/mm/init.c~mm-tile-use-common-help-functions-to-free-reserved-pages +2 -5
diff -puN arch/tile/mm/init.c~mm-tile-use-common-help-functions-to-free-reserved-pages arch/tile/mm/init.c
@@ -720,7 +720,7 @@ static void __init init_free_pfn_range(u
 		}
 		init_page_count(page);
 		__free_pages(page, order);
-		totalram_pages += count;
+		adjust_managed_page_count(page, count);
 
 		page += count;
 		pfn += count;
@@ -1024,16 +1024,13 @@ static void free_init_pages(char *what,
 			pte_clear(&init_mm, addr, ptep);
 			continue;
 		}
-		__ClearPageReserved(page);
-		init_page_count(page);
 		if (pte_huge(*ptep))
 			BUG_ON(!kdata_huge);
 		else
 			set_pte_at(&init_mm, addr, ptep,
 				   pfn_pte(pfn, PAGE_KERNEL));
 		memset((void *)addr, POISON_FREE_INITMEM, PAGE_SIZE);
-		free_page(addr);
-		totalram_pages++;
+		free_reserved_page(page);
 	}
 	pr_info("Freeing %s: %ldk freed\n", what, (end - begin) >> 10);
 }

_

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

origin.patch
linux-next.patch