On Wed, Dec 29, 1999 at 02:43:57PM -0800, David Schleef wrote:
> On Wed, Dec 29, 1999 at 08:34:03AM -0400, [EMAIL PROTECTED] wrote:
> >
> > Hello, I have a question about the Maximun Module Size that I can load to RT
> > Linux, because I need to use Neural Networks to contol some process, and the
> > Neural Network run quick, but use a lot of memory.
>
> 128k - 16 bytes. But you can allocate 100's of MB if you want, and copy
> any data that you need from user space.
>
Oops. I was wrong here. There is no limit to module size, since module
memory is allocated with vmalloc, at least in 2.3.34. It used to be allocated
with kmalloc, hence the 128k limit. Yet another good reason not to use
global variables in modules, since this means that it is more difficult to
find their physical address.
dave...
--- [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/