<div dir="ltr">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.<div>

<br></div><div>copy_from_user is now replaced with memcpy. I still see processor stall. This means the buffer allocated per call is the cause.</div><div><br></div><div>Abu</div></div>