From: Yinghai Lu Date: Tue, 11 Mar 2008 06:23:42 +0000 (-0700) Subject: mm: fix alloc_bootmem_core to use fast searching for all nodes X-Git-Tag: v2.6.26-rc1~1035^2~5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad09315cad17458e51c7f1f8b371cb942c54b955;p=pandora-kernel.git mm: fix alloc_bootmem_core to use fast searching for all nodes Make the nodes other than node 0 use bdata->last_success for fast search too. We need to use __alloc_bootmem_core() for vmemmap allocation for other nodes when numa and sparsemem/vmemmap are enabled. Also, make fail_block path increase i with incr only after ALIGN to avoid extra increase when size is larger than align. Signed-off-by: Yinghai Lu Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed