Question about memcpy
Greg KH
greg at kroah.com
Tue Jul 10 02:22:59 EDT 2018
On Tue, Jul 10, 2018 at 12:50:21PM +0800, bing zhu wrote:
> I agree !,just i think the problem is still there,memcpy is indeed faster in
> kernel than in user,i've tried both ways .
Make sure you are actually using the same code for memcpy in both
places. Do not rely on your libc or the kernel library for such a
thing, otherwise you are not comparing the same code exactly.
> schedule might be to blame.
Lots of things "might be to blame", but first off, try to work out
exactly what you are trying to test, and why, and work on that.
good luck!
greg k-h
More information about the Kernelnewbies
mailing list