memblock: Separate memblock_alloc_nid() and memblock_alloc_try_nid()
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 6 Jul 2010 22:39:17 +0000 (15:39 -0700)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 5 Aug 2010 02:56:24 +0000 (12:56 +1000)
commit9d1e24928e6a0728d1c7c76818ccbd11b93e7ac9
treef2c7173d47bf973d1a42ee249760b1c74d917009
parentc196f76fd5ece716ee3b7fa5dda3576961c0cecc
memblock: Separate memblock_alloc_nid() and memblock_alloc_try_nid()

The former is now strict, it will fail if it cannot honor the allocation
within the node, while the later implements the previous semantic which
falls back to allocating anywhere.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/sparc/mm/init_64.c
include/linux/memblock.h
mm/memblock.c