]> err.no Git - linux-2.6/commit
mm: allow reserve_bootmem() cross nodes
authorYinghai Lu <yhlu.kernel@gmail.com>
Tue, 18 Mar 2008 19:49:12 +0000 (12:49 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Apr 2008 20:51:08 +0000 (22:51 +0200)
commita5645a61b3b7e7d7de15e1a642ead600150ce94d
tree76fad06bc64a00b71821a9df63c474ea5341eab2
parent9a2dc04cf070ee98e014a172695782ff42015fc4
mm: allow reserve_bootmem() cross nodes

split reserve_bootmem_core() into two functions, one which checks
conflicts, and one which sets the bits.

and make reserve_bootmem to loop bdata_list to cross the nodes.

user could be crashkernel and ramdisk..., in case the range provided
by those externalities crosses the nodes.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
mm/bootmem.c