remarkable-linux/include
Johannes Weiner 5f2809e69c bootmem: clean up alloc_bootmem_core
alloc_bootmem_core has become quite nasty to read over time.  This is a
clean rewrite that keeps the semantics.

bdata->last_pos has been dropped.

bdata->last_success has been renamed to hint_idx and it is now an index
relative to the node's range.  Since further block searching might start
at this index, it is now set to the end of a succeeded allocation rather
than its beginning.

bdata->last_offset has been renamed to last_end_off to be more clear that
it represents the ending address of the last allocation relative to the
node.

[y-goto@jp.fujitsu.com: fix new alloc_bootmem_core()]
Signed-off-by: Johannes Weiner <hannes@saeurebad.de>
Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-24 10:47:20 -07:00
..
acpi
asm-alpha
asm-arm Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2008-07-23 18:24:08 -07:00
asm-avr32 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx 2008-07-23 12:03:18 -07:00
asm-blackfin
asm-cris
asm-frv termios: Termios defines for other platforms 2008-07-20 17:12:38 -07:00
asm-generic
asm-h8300
asm-ia64 hugetlb: modular state for hugetlb page size 2008-07-24 10:47:17 -07:00
asm-m32r
asm-m68k m68k: remove stale ARCH_SUN4 #define 2008-07-20 17:24:39 -07:00
asm-m68knommu
asm-mips
asm-mn10300
asm-parisc
asm-powerpc powerpc: support multiple hugepage sizes 2008-07-24 10:47:19 -07:00
asm-s390 hugetlb: modular state for hugetlb page size 2008-07-24 10:47:17 -07:00
asm-sh hugetlb: modular state for hugetlb page size 2008-07-24 10:47:17 -07:00
asm-sparc hugetlb: modular state for hugetlb page size 2008-07-24 10:47:17 -07:00
asm-sparc64
asm-um
asm-v850
asm-x86 x86: add hugepagesz option on 64-bit 2008-07-24 10:47:19 -07:00
asm-xtensa
crypto
drm
keys
linux bootmem: clean up alloc_bootmem_core 2008-07-24 10:47:20 -07:00
math-emu
media
mtd
net ipv6: icmp6_dst_gc return change 2008-07-22 14:35:50 -07:00
pcmcia
rdma
rxrpc
scsi driver core: remove KOBJ_NAME_LEN define 2008-07-21 21:54:52 -07:00
sound
video
xen
Kbuild