Commit 01ae403b authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] fix allocate_pgdat comments

From: "Martin J. Bligh" <mbligh@aracnet.com>

From: Andy Whitcroft <apw@shadowen.org>

The comments for i386 allocate_pgdat indicate that the routine should be
modified to place the pgdat into node local memory.  However, this has
already been done as the pgdat is placed at node_remap_start_vaddr.  This
patch updates the comments to reflect this reality.
Signed-off-by: default avatarAndy Whitcroft <apw@shadowen.org>
Signed-off-by: default avatarMartin J. Bligh <mbligh@aracnet.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 75c4f219
......@@ -129,8 +129,11 @@ static void __init find_max_pfn_node(int nid)
}
/*
* Allocate memory for the pg_data_t via a crude pre-bootmem method
* We ought to relocate these onto their own node later on during boot.
* Allocate memory for the pg_data_t for this node via a crude pre-bootmem
* method. For node zero take this from the bottom of memory, for
* subsequent nodes place them at node_remap_start_vaddr which contains
* node local data in physically node local memory. See setup_memory()
* for details.
*/
static void __init allocate_pgdat(int nid)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment