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

Dynamic memory allocation




Folks,

What is the best way to dynamically allocate memory for FLOATS in real time
linux modules (not within init_module)? There is a section of code which is
not time critical and which does not run in unison with any time critical
tasks. Consequently, it is in this piece of code that I would like to do some
dynamic memory allocations. Stated differently, I am hoping to find anything
that rhymes with malloc, realloc, and calloc.  Would kmalloc be my only
friend?

Thanks in advance,

-- Edgar
------------------------------------------------------
Edgar F. Hilton		Graduate Research Associate
efhilton@virginia.edu	www.people.virginia.edu/~efh4v
office-(804) 924-6233   fax-(804) 982-2246 
------------------------------------------------------