linux/arch
Benjamin Herrenschmidt e63075a3c9 memblock: Introduce default allocation limit and use it to replace explicit ones
This introduce memblock.current_limit which is used to limit allocations
from memblock_alloc() or memblock_alloc_base(..., MEMBLOCK_ALLOC_ACCESSIBLE).

The old MEMBLOCK_ALLOC_ANYWHERE changes value from 0 to ~(u64)0 and can still
be used with memblock_alloc_base() to allocate really anywhere.

It is -no-longer- cropped to MEMBLOCK_REAL_LIMIT which disappears.

Note to archs: I'm leaving the default limit to MEMBLOCK_ALLOC_ANYWHERE. I
strongly recommend that you ensure that you set an appropriate limit
during boot in order to guarantee that an memblock_alloc() at any time
results in something that is accessible with a simple __va().

The reason is that a subsequent patch will introduce the ability for
the array to resize itself by reallocating itself. The MEMBLOCK core will
honor the current limit when performing those allocations.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2010-08-05 12:56:07 +10:00
..
alpha
arm memblock/arm: Use new accessors 2010-08-05 12:55:55 +10:00
avr32 serial: fix rs485 for atmel_serial on avr32 2010-07-26 11:59:31 -07:00
blackfin
cris
frv
h8300
ia64
m32r
m68k
m68knommu
microblaze memblock: Introduce default allocation limit and use it to replace explicit ones 2010-08-05 12:56:07 +10:00
mips MIPS: Set io_map_base for several PCI bridges lacking it 2010-07-26 19:08:19 +01:00
mn10300
parisc
powerpc memblock: Introduce default allocation limit and use it to replace explicit ones 2010-08-05 12:56:07 +10:00
s390 [S390] etr: fix clock synchronization race 2010-07-27 19:29:42 +02:00
score
sh memblock: Introduce default allocation limit and use it to replace explicit ones 2010-08-05 12:56:07 +10:00
sparc memblock: Introduce default allocation limit and use it to replace explicit ones 2010-08-05 12:56:07 +10:00
um
x86 x86,kgdb: Fix hw breakpoint regression 2010-07-28 19:10:30 -05:00
xtensa
.gitignore
Kconfig