Re: [PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs



Matthew Dillon wrote:

* Saving the FP state. The kernel doesn't have to save or restore
anything if userland was not using the floating point unit. In
fact, the kernel doesn't even need to FNINIT! All the kernel needs
to do is CLTS and FNCLEX to make the FP unit usable for media copy
instructions, then set CR0_TS when it is finished.

Does the same hold true with kernel threads in FreeBSD (e.g. two threads
using FPU)?



_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"

Relevant Pages

  • SCHED_RR/SCHED_FIFO and kernel threads?
    ... SCHED_FIFO scheduling, kernel activity - in the form of kernel threads - ... and then the job tasks I wanted to "run" in other virtual terminals, ...
    (Linux-Kernel)
  • Re: [linux-pm] Re: [PATCH] Remove process freezer from suspend to RAM pathway
    ... Isn't the distinction between a kernel thread and a user task pretty ... suspend) will cause additional problems. ... The "don't freeze kernel threads" thing is an attempt to make a crude ... carry out some I/O. ...
    (Linux-Kernel)
  • swsusp: Documentation update
    ... * If you change kernel command line between suspend and resume... ... +I found some kernel threads that don't do it, ... -* systems that initialize video card into vga text mode and where BIOS ...
    (Linux-Kernel)
  • Re: [PATCH] kthread: saa7134-tvaudio.c
    ... If you don't do this kernel threads ... locking resources in the kernel long past the time when they are ... more sense to the change kernel threads. ... could have a user space parent. ...
    (Linux-Kernel)
  • Re: Xterm Hangs - Possible scheduler defect?
    ... Why would it be wrong to preempt ... >design that doesn't allow the necessary kernel threads to run on any CPU? ...
    (Linux-Kernel)