* [PATCH]Remove pgdat list ver.2 [2/2]
@ 2005-09-30 13:07 Yasunori Goto
0 siblings, 0 replies; only message in thread
From: Yasunori Goto @ 2005-09-30 13:07 UTC (permalink / raw)
To: Dave Hansen; +Cc: linux-mm, linux-ia64
-------------------
This is for ia64. Pgdat insertion is not necessary.
Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Index: pgdat_link/arch/ia64/mm/discontig.c
===================================================================
--- pgdat_link.orig/arch/ia64/mm/discontig.c 2005-09-30 19:04:10.070261497 +0900
+++ pgdat_link/arch/ia64/mm/discontig.c 2005-09-30 19:06:42.850533063 +0900
@@ -376,30 +376,6 @@ static void __init *memory_less_node_all
return ptr;
}
-/**
- * pgdat_insert - insert the pgdat into global pgdat_list
- * @pgdat: the pgdat for a node.
- */
-static void __init pgdat_insert(pg_data_t *pgdat)
-{
- pg_data_t *prev = NULL, *next;
-
- for_each_pgdat(next)
- if (pgdat->node_id < next->node_id)
- break;
- else
- prev = next;
-
- if (prev) {
- prev->pgdat_next = pgdat;
- pgdat->pgdat_next = next;
- } else {
- pgdat->pgdat_next = pgdat_list;
- pgdat_list = pgdat;
- }
-
- return;
-}
/**
* memory_less_nodes - allocate and initialize CPU only nodes pernode
@@ -695,11 +671,5 @@ void __init paging_init(void)
pfn_offset, zholes_size);
}
- /*
- * Make memory less nodes become a member of the known nodes.
- */
- for_each_node_mask(node, memory_less_mask)
- pgdat_insert(mem_data[node].pgdat);
-
zero_page_memmap_ptr = virt_to_page(ia64_imva(empty_zero_page));
}
--
Yasunori Goto
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-09-30 13:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-30 13:07 [PATCH]Remove pgdat list ver.2 [2/2] Yasunori Goto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox