how to dynamically allocate memory in a kernel modules?
As we know,wo can use malloc() to allocate memory in user space,but I also want to know how to do this in kernel mode?
|
Why, with kmalloc() of course! Here's some reading: http://www.linuxjournal.com/article/6930
|
All times are GMT -5. The time now is 05:12 PM. |