diff options
author | 2008-03-10 23:23:42 -0700 | |
---|---|---|
committer | 2008-04-26 22:51:07 +0200 | |
commit | ad09315cad17458e51c7f1f8b371cb942c54b955 (patch) | |
tree | 5838f3a78b7697c0d0a7d2ae88b8424226a92067 /lib/parser.c | |
parent | mm: make mem_map allocation continuous (diff) | |
download | wireguard-linux-ad09315cad17458e51c7f1f8b371cb942c54b955.tar.xz wireguard-linux-ad09315cad17458e51c7f1f8b371cb942c54b955.zip |
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 <yhlu.kernel@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions