Module vs Kernel main performacne

Abu Rasheda rcpilot2010 at
Fri Jun 8 21:52:45 EDT 2012

I modified my module (m.c). Still sending buffer from user space using
ioctl, but instead of copying data from buffer provided by user, I have
allocated (kmalloc) a buffer and I copy from this buffer to another kernel
buffer which is allocated each time this module ioclt is invoked.

copy_from_user is now replaced with memcpy. I still see processor stall.
This means the buffer allocated per call is the cause.

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Kernelnewbies mailing list