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

Re: your mail



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