Module vs Kernel main performacne

Abu Rasheda rcpilot2010 at gmail.com
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.

Abu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120608/43f027cc/attachment.html 


More information about the Kernelnewbies mailing list