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 |
---|---|---|
Kconfig | -rw-r--r-- | 1.3 KB |
Makefile | -rw-r--r-- | 434 bytes |
clock.c | -rw-r--r-- | 6.3 KB |
core.c | -rw-r--r-- | 8.9 KB |
core.h | -rw-r--r-- | 2.5 KB |
dsp.h | -rw-r--r-- | 7.8 KB |
dsp_audio.c | -rw-r--r-- | 10.8 KB |
dsp_biquad.h | -rw-r--r-- | 1.6 KB |
dsp_blowfish.c | -rw-r--r-- | 23.4 KB |
dsp_cmx.c | -rw-r--r-- | 52.7 KB |
dsp_core.c | -rw-r--r-- | 33.2 KB |
dsp_dtmf.c | -rw-r--r-- | 7.7 KB |
dsp_ecdis.h | -rw-r--r-- | 3.5 KB |
dsp_hwec.c | -rw-r--r-- | 3.0 KB |
dsp_hwec.h | -rw-r--r-- | 241 bytes |
dsp_pipeline.c | -rw-r--r-- | 8.3 KB |
dsp_tones.c | -rw-r--r-- | 17.0 KB |
fsm.c | -rw-r--r-- | 4.4 KB |
fsm.h | -rw-r--r-- | 1.7 KB |
hwchannel.c | -rw-r--r-- | 12.0 KB |
l1oip.h | -rw-r--r-- | 2.5 KB |
l1oip_codec.c | -rw-r--r-- | 10.9 KB |
l1oip_core.c | -rw-r--r-- | 39.7 KB |
layer1.c | -rw-r--r-- | 9.7 KB |
layer1.h | -rw-r--r-- | 740 bytes |
layer2.c | -rw-r--r-- | 51.9 KB |
layer2.h | -rw-r--r-- | 2.7 KB |
socket.c | -rw-r--r-- | 18.0 KB |
stack.c | -rw-r--r-- | 16.4 KB |
tei.c | -rw-r--r-- | 33.5 KB |
timerdev.c | -rw-r--r-- | 6.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...