1
0
Fork 0
alistair23-linux/arch/ia64
Yasunori Goto 281dd25cdc [PATCH] swiotlb: make sure initial DMA allocations really are in DMA memory
This introduces a limit parameter to the core bootmem allocator; The new
parameter indicates that physical memory allocated by the bootmem
allocator should be within the requested limit.

We also introduce alloc_bootmem_low_pages_limit, alloc_bootmem_node_limit,
alloc_bootmem_low_pages_node_limit apis, but alloc_bootmem_low_pages_limit
is the only api used for swiotlb.

The existing alloc_bootmem_low_pages() api could instead have been
changed and made to pass right limit to the core allocator.  But that
would make the patch more intrusive for 2.6.14, as other arches use
alloc_bootmem_low_pages().  We may be done that post 2.6.14 as a
cleanup.

With this, swiotlb gets memory within 4G for both x86_64 and ia64
arches.

Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Cc: Ravikiran G Thirumalai <kiran@scalex86.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-19 23:11:33 -07:00
..
configs [IA64] Manual merge fix for 3 files 2005-09-08 14:27:13 -07:00
dig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hp [IA64] Fix simscsi for new SCSI midlayer 2005-09-22 10:42:39 -07:00
ia32 [PATCH] error path in setup_arg_pages() misses vm_unacct_memory() 2005-09-14 11:18:13 -07:00
kernel [IA64] Avoid kernel hang during CMC interrupt storm 2005-10-06 15:04:11 -07:00
lib [PATCH] swiotlb: make sure initial DMA allocations really are in DMA memory 2005-10-19 23:11:33 -07:00
mm Pull sim-fixes into release branch 2005-09-11 14:27:15 -07:00
oprofile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci [IA64] Minor cleanups - remove CONFIG_ACPI_DEALLOCATE_IRQ 2005-09-07 14:00:08 -07:00
scripts Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sn Pull sn-features into release branch 2005-09-11 14:34:23 -07:00
Kconfig [LIB]: Consolidate _atomic_dec_and_lock() 2005-09-14 21:47:01 -07:00
Kconfig.debug [PATCH] Kprobes/IA64: arch specific handling 2005-06-23 09:45:22 -07:00
Makefile [IA64] fix circular dependency on generation of asm-offsets.h 2005-09-13 08:50:39 -07:00
defconfig [IA64] Manual merge fix for 3 files 2005-09-08 14:27:13 -07:00
install.sh Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
module.lds Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00