CPU extensions usage in kernel mode

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

 



I have recently developed o modude (for experimental purposes only) which does a lot of maths in kernel mode and communicates with userland with /proc. After reading some fpu/mmx/sse/sse2/3dnow whitepapers, I found several ways to optimize it for i386. My question is, can I use all these extensions while running on behalf of a userspace process? I doubt cause kernel does not seem to save the state of theses specific registers at system calls. It is true? Will a kernel thread solve this problem? Thank you in advance. Have a nice day.

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/


[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