commit | 142b45a72e221537c1bb1995497fef7cdc439e26 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Tue Jul 06 15:39:13 2010 -0700 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Thu Aug 05 12:56:20 2010 +1000 |
tree | 478f95f05f923e63a845d6f8272647cf40765c4c | |
parent | 6ed311b282210d23d1a2cb2665aa899979993628 [diff] |
memblock: Add array resizing support When one of the array gets full, we resize it. After much thinking and a few iterations of that code, I went back to on-demand resizing using the (new) internal memblock_find_base() function, which is pretty much what Yinghai initially proposed, though there some differences in the details. To work this relies on the default alloc limit being set sensibly by the architecture. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>