Searched hist:"65 f99c74fbec51e2da3075cd6925d46a1dc79485" (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/amd64/amd64/ |
H A D | vm_machdep.c | diff 65f99c74fbec51e2da3075cd6925d46a1dc79485 Sat Mar 29 12:56:33 CET 2014 Konstantin Belousov <kib@FreeBSD.org> Clear the kernel grab of the FPU state on fork. The pcb_save pointer is already correctly reset to the FPU user save area, only PCB_KERNFPU flag might leak from old thread state into the new state.
For creation of the user-mode thread, the change is nop since corresponding syscall code does not use FPU. On the other hand, creation of a kernel thread forks from a thread selected arbitrary from proc0, which might use FPU.
Reported and tested by: Chris Torek <torek@torek.net> Sponsored by: The FreeBSD Foundation MFC after: 1 week
|
/freebsd/sys/i386/i386/ |
H A D | vm_machdep.c | diff 65f99c74fbec51e2da3075cd6925d46a1dc79485 Sat Mar 29 12:56:33 CET 2014 Konstantin Belousov <kib@FreeBSD.org> Clear the kernel grab of the FPU state on fork. The pcb_save pointer is already correctly reset to the FPU user save area, only PCB_KERNFPU flag might leak from old thread state into the new state.
For creation of the user-mode thread, the change is nop since corresponding syscall code does not use FPU. On the other hand, creation of a kernel thread forks from a thread selected arbitrary from proc0, which might use FPU.
Reported and tested by: Chris Torek <torek@torek.net> Sponsored by: The FreeBSD Foundation MFC after: 1 week
|