Question about memcpy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear Sir/Ma'am
Thank you for your time ,i'm a student new to linux kernel.
I have a question about memcpy,i noticed that memcpy is faster in kernel than in user space 
for example :
in a module helloworld , i use memcpy to copy a 4096B to a block of memory for like 10000 times
and in user space i do the same thing,I noticed that kernel is faster than user ,
is it possible that in kernel when i insmod hello it can not be scheduled but in user space it will so kernel is faster?
is there a possible way that a user task can run a block of code that uninterruptable? No switch ,no schedule ?
Thank you !
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux