> I get the following error when I try to allocate quite
> a lot of memory using kmalloc:
> 'kmalloc: Size (400000) too large'
> I was wondering how could I know the maximum available
> memory in kernel space and if it is possible to
> reserve more memory at boot time.
I use the following in /etc/lilo.conf to reserve 4mb of space for real-time
use. I use this contiguous area for DMA transfers from several pci devices
to system memory. Once the data are transfered to this memory, I process
it and move it to a large ( 110 mb ) queue reserved within linux via the
mbuff package. Unless you need contigous DMA memory, the mbuff functions
will do what you want.
image=/boot/rtl3.0-2.2.18
append="mem=252M"
label=rtl2218
read-only
root=/dev/hda2
W. Wright
--<<< We are committed to exceeding requirements >>>----->-+
C.W. Wright,[EMAIL PROTECTED], Ph:757-824-1698
http://lidar.wff.nasa.gov Fax:603-925-6886
NASA, Goddard Space Flight Center
Building N-159 Room E117, Code 972,Wallops Flight Facility
Wallops Island, Va. 23337 Telecommute phone: 410-742-7333
-------+-<-------------------------------------------------
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/