页次: 1
That is strange... Do you know which part of the driver program is invoking frequently copy_to_user? I suppose using memory mapping would be a more efficent way to transfer data from the kernel to userspace, but maybe special circumtances in the driver doesn't allow that.
in my previous post I put a link about memory mapping instead use copy_to_user
p3im4n 说:HI Mr @niyazfattahov
HAve you solved "data - cpu load 100%" problrm?
hi
no, I didn't find solution.
I think it is related with memory transaction, all I found out is that function like copy_from_user() consuming cpu ~ 40% at least
HI Mr @niyazfattahov
maybe this help
please let me know if it works for you
页次: 1