Memory allocation problem
Hi,
Thanks for immediate response. I used 2.4.20 kernel patched with bigphys area and got it working. I know that this patch is part of Suse distribution. Is there any plans to incorporate this patch in Redhat? Is redhat 9.0 kernel equipped with this patch?
Rgds
Anand
Quoted 26 lines · On Thu, 01 May 2003 [email protected] wrote :
Quoted 2 lines
The kernel version we are using is 2.4.18 (Redhat 8.0) and the
total
Quoted 3 lines
amount of memory available in the box is 128MB
Is there any other mechanism to allocate large amount of
physically
Quoted 1 line
contiguous memory blocks during normal run time of the driver?
Is this
Quoted 1 line
being addressed in later kernels.
I regularly use a patch (bigphysarea) recommended by Dolphin for use with their SCI cards. The copy I use is from a relatively old kernel (2.4.4) which applies with a few warnings but is otherwise OK. I did a quick search with Google for
bigphysarea linux 2.4.18
and foundhttp://frmb.home.cern.ch/frmb/download/bigphysarea-2.4.18.patch
or a more readable page at
http://frmb.home.cern.ch/frmb/linux.html
which appears to be a version updated for 2.4.18. I believe the original patch is maintained athttp://www.uni-paderborn.de/fachbereich/AG/heiss/linux/bigphysarea.html
Quoted 10 lines
There are apparently several drivers that already use this interface, but it does require a patched kernel.
I am not aware of any effort to merge this into the main line kernel (though I would certainly appreciate that).
--Mark H Johnson
<mailto:[email protected]>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 8 lines · anand kumar
Hi,
Thanks for immediate response. I used 2.4.20 kernel patched with bigphys
area and got it working. I know that this patch is part of Suse distribution. Is there any plans to incorporate this patch in Red Hat?
Is Red Hat 9 kernel equipped with this patch?
no it's not, nor are there plans to add it. BigPhysArea is a hack, not a solution. The solution is to use the scatter-gather engine on the pci card instead of needing to chainsaw physical ram always...