[PATCH 2/4] memblock: add memblock_virt_alloc_nid_nopanic()

2014-02-13 Thread Luiz Capitulino
From: Luiz capitulino This function tries to allocate memory from the specified node only (vs. falling back to other nodes). This is going to be used by HugeTLB boot-time allocation code in next commits. Signed-off-by: Luiz capitulino --- include/linux/bootmem.h | 4 mm/memblock.c

[PATCH 2/4] memblock: add memblock_virt_alloc_nid_nopanic()

2014-02-10 Thread Luiz Capitulino
From: Luiz capitulino This function tries to allocate memory from the specified node only (vs. automatically trying other nodes on failure). This is going to be used by HugeTLB boot-time allocation code in next commits. Signed-off-by: Luiz capitulino --- include/linux/bootmem.h | 4 mm/