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 |
---|---|---|
hvc | ||
ipwireless | ||
serial | ||
vt | ||
Kconfig | -rw-r--r-- | 14.9 KB |
Makefile | -rw-r--r-- | 1.0 KB |
amiserial.c | -rw-r--r-- | 45.9 KB |
bfin_jtag_comm.c | -rw-r--r-- | 9.3 KB |
cyclades.c | -rw-r--r-- | 111.1 KB |
ehv_bytechan.c | -rw-r--r-- | 23.1 KB |
isicom.c | -rw-r--r-- | 41.3 KB |
moxa.c | -rw-r--r-- | 51.9 KB |
moxa.h | -rw-r--r-- | 8.4 KB |
mxser.c | -rw-r--r-- | 68.9 KB |
mxser.h | -rw-r--r-- | 4.5 KB |
n_gsm.c | -rw-r--r-- | 76.9 KB |
n_hdlc.c | -rw-r--r-- | 27.3 KB |
n_r3964.c | -rw-r--r-- | 30.7 KB |
n_tracerouter.c | -rw-r--r-- | 7.1 KB |
n_tracesink.c | -rw-r--r-- | 7.1 KB |
n_tracesink.h | -rw-r--r-- | 1.3 KB |
n_tty.c | -rw-r--r-- | 51.9 KB |
nozomi.c | -rw-r--r-- | 48.3 KB |
pty.c | -rw-r--r-- | 18.8 KB |
rocket.c | -rw-r--r-- | 92.9 KB |
rocket.h | -rw-r--r-- | 3.8 KB |
rocket_int.h | -rw-r--r-- | 41.6 KB |
synclink.c | -rw-r--r-- | 229.5 KB |
synclink_gt.c | -rw-r--r-- | 131.8 KB |
synclinkmp.c | -rw-r--r-- | 146.7 KB |
sysrq.c | -rw-r--r-- | 20.7 KB |
tty_audit.c | -rw-r--r-- | 8.5 KB |
tty_buffer.c | -rw-r--r-- | 14.8 KB |
tty_io.c | -rw-r--r-- | 84.2 KB |
tty_ioctl.c | -rw-r--r-- | 30.9 KB |
tty_ldisc.c | -rw-r--r-- | 23.5 KB |
tty_mutex.c | -rw-r--r-- | 1.2 KB |
tty_port.c | -rw-r--r-- | 11.4 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...