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 |
---|---|---|
agp | ||
hw_random | ||
ipmi | ||
mwave | ||
pcmcia | ||
tpm | ||
xilinx_hwicap | ||
Kconfig | -rw-r--r-- | 20.9 KB |
Makefile | -rw-r--r-- | 1.9 KB |
apm-emulation.c | -rw-r--r-- | 17.4 KB |
applicom.c | -rw-r--r-- | 24.0 KB |
applicom.h | -rw-r--r-- | 2.5 KB |
bfin-otp.c | -rw-r--r-- | 5.9 KB |
bsr.c | -rw-r--r-- | 8.8 KB |
ds1302.c | -rw-r--r-- | 7.5 KB |
ds1620.c | -rw-r--r-- | 8.5 KB |
dsp56k.c | -rw-r--r-- | 12.3 KB |
dtlk.c | -rw-r--r-- | 16.3 KB |
efirtc.c | -rw-r--r-- | 9.5 KB |
generic_nvram.c | -rw-r--r-- | 3.4 KB |
genrtc.c | -rw-r--r-- | 12.8 KB |
hangcheck-timer.c | -rw-r--r-- | 6.2 KB |
hpet.c | -rw-r--r-- | 24.4 KB |
i8k.c | -rw-r--r-- | 17.7 KB |
lp.c | -rw-r--r-- | 26.2 KB |
mbcs.c | -rw-r--r-- | 19.9 KB |
mbcs.h | -rw-r--r-- | 13.4 KB |
mem.c | -rw-r--r-- | 19.0 KB |
misc.c | -rw-r--r-- | 6.9 KB |
mmtimer.c | -rw-r--r-- | 20.9 KB |
msm_smd_pkt.c | -rw-r--r-- | 10.6 KB |
mspec.c | -rw-r--r-- | 10.7 KB |
nsc_gpio.c | -rw-r--r-- | 3.5 KB |
nvram.c | -rw-r--r-- | 17.1 KB |
nwbutton.c | -rw-r--r-- | 7.9 KB |
nwbutton.h | -rw-r--r-- | 1.1 KB |
nwflash.c | -rw-r--r-- | 13.6 KB |
pc8736x_gpio.c | -rw-r--r-- | 8.8 KB |
ppdev.c | -rw-r--r-- | 19.2 KB |
ps3flash.c | -rw-r--r-- | 11.0 KB |
random.c | -rw-r--r-- | 39.9 KB |
raw.c | -rw-r--r-- | 8.4 KB |
rtc.c | -rw-r--r-- | 33.5 KB |
scx200_gpio.c | -rw-r--r-- | 3.1 KB |
snsc.c | -rw-r--r-- | 11.0 KB |
snsc.h | -rw-r--r-- | 2.8 KB |
snsc_event.c | -rw-r--r-- | 7.3 KB |
sonypi.c | -rw-r--r-- | 41.2 KB |
tb0219.c | -rw-r--r-- | 7.8 KB |
tile-srom.c | -rw-r--r-- | 11.5 KB |
tlclk.c | -rw-r--r-- | 23.4 KB |
toshiba.c | -rw-r--r-- | 13.2 KB |
ttyprintk.c | -rw-r--r-- | 5.2 KB |
uv_mmtimer.c | -rw-r--r-- | 5.5 KB |
virtio_console.c | -rw-r--r-- | 46.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...