commit | 1a4a678b12c84db9ae5dce424e0e97f0559bb57c | [log] [tgz] |
---|---|---|
author | Yinghai Lu <yinghai@kernel.org> | Fri Dec 17 16:59:07 2010 -0800 |
committer | H. Peter Anvin <hpa@linux.intel.com> | Wed Dec 29 14:46:55 2010 -0800 |
tree | c272694389a0b035f198be679eb9355788fc0e5c | |
parent | 32e3f2b00c529477d26895c5428ed95bba537443 [diff] |
memblock: Make find_memory_core_early() find from top-down That is used for find ram in node or bootmem type. We should make it top-down so it will be consistent to memblock_find, and to avoid allocating potentially valuable low memory before we actually need it. Suggested-by: Jeremy Fitzhardinge <jeremy@goop.org> Signed-off-by: Yinghai Lu <yinghai@kernel.org> LKML-Reference: <4D0C075B.3040501@kernel.org> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>