[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] Memory allocation



On Wed, Nov 01, 2000 at 03:51:06PM -0500, eek105@psu.edu wrote:
> I remember seeing many discussions on the list about memory allocation,
> but i am failing to find them now.
>  I remember that you can only do memory allocation in initmodule. Is
> this right?  I would like to allocate a few
> kbytes either in a fifo handler or a real time thread.  Is this ok?
> eric

Fifo user handler is fine. Otherwise  pre-allocate from Linux and 
take what you need from this allocation in the rtl thread. 

> 
> 
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
> echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/

-- 
---------------------------------------------------------
Victor Yodaiken 
Finite State Machine Labs: The RTLinux Company.
 www.fsmlabs.com  www.rtlinux.com