Revision 238305bb4d418c95977162ba13c11880685fc731 authored by Johannes Weiner on 29 May 2012, 22:06:36 UTC, committed by Linus Torvalds on 29 May 2012, 23:22:22 UTC
alloc_bootmem_section() derives allocation area constraints from the specified sparsemem section. This is a bit specific for a generic memory allocator like bootmem, though, so move it over to sparsemem. As __alloc_bootmem_node_nopanic() already retries failed allocations with relaxed area constraints, the fallback code in sparsemem.c can be removed and the code becomes a bit more compact overall. [akpm@linux-foundation.org: fix build] Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Acked-by: Tejun Heo <tj@kernel.org> Acked-by: David S. Miller <davem@davemloft.net> Cc: Yinghai Lu <yinghai@kernel.org> Cc: Gavin Shan <shangw@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent e907991
File | Mode | Size |
---|---|---|
platform | ||
acconfig.h | -rw-r--r-- | 8.5 KB |
acexcep.h | -rw-r--r-- | 12.6 KB |
acnames.h | -rw-r--r-- | 3.4 KB |
acoutput.h | -rw-r--r-- | 11.1 KB |
acpi.h | -rw-r--r-- | 3.0 KB |
acpi_bus.h | -rw-r--r-- | 12.6 KB |
acpi_drivers.h | -rw-r--r-- | 5.2 KB |
acpi_numa.h | -rw-r--r-- | 512 bytes |
acpiosxf.h | -rw-r--r-- | 7.6 KB |
acpixf.h | -rw-r--r-- | 15.8 KB |
acrestyp.h | -rw-r--r-- | 17.2 KB |
actbl.h | -rw-r--r-- | 17.7 KB |
actbl1.h | -rw-r--r-- | 26.3 KB |
actbl2.h | -rw-r--r-- | 27.9 KB |
actbl3.h | -rw-r--r-- | 13.7 KB |
actypes.h | -rw-r--r-- | 35.4 KB |
apei.h | -rw-r--r-- | 1.1 KB |
button.h | -rw-r--r-- | 652 bytes |
container.h | -rw-r--r-- | 198 bytes |
hed.h | -rw-r--r-- | 371 bytes |
pdc_intel.h | -rw-r--r-- | 1009 bytes |
processor.h | -rw-r--r-- | 9.0 KB |
reboot.h | -rw-r--r-- | 162 bytes |
video.h | -rw-r--r-- | 958 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...