diff options
author | KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> | 2006-03-27 13:15:58 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-27 20:44:47 +0400 |
commit | 679bc9fbb508a0aac9539b2de747eb5849feb428 (patch) | |
tree | 350b9d7d01eeb7e2401b5ade156ead1a635a4bba /arch/m32r | |
parent | 8357f8695d58b50fbf2bd507b4b0fc2cd1e43bd6 (diff) | |
download | linux-679bc9fbb508a0aac9539b2de747eb5849feb428.tar.xz |
[PATCH] for_each_online_pgdat: for_each_bootmem
Add a list_head to bootmem_data_t and make bootmems use it. bootmem list is
sorted by node_boot_start.
Only nodes against which init_bootmem() is called are linked to the list.
(i386 allocates bootmem only from one node(0) not from all online nodes.)
A summary:
1. for_each_online_pgdat() traverses all *online* nodes.
2. alloc_bootmem() allocates memory only from initialized-for-bootmem nodes.
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/m32r')
0 files changed, 0 insertions, 0 deletions