On Tue, 15 Aug 2000, joseph canou wrote:

> i store 732 values in a table (unsigned char donnee[732])
> when i have this 732 values i make a rtf_put() to be able to
> read this data in my main program
> in my cleanup() i make a vfree(donnee)

You need vfree only if you have allocated donnee using vmalloc.
For just 732 bytes I would recommend kmalloc in init_module and kfree in
cleanup_module.

--
Tomek

-- [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/

Reply via email to