svn commit: r273550 - head/share/man/man9
John-Mark Gurney
jmg at FreeBSD.org
Thu Oct 23 17:24:51 UTC 2014
Author: jmg
Date: Thu Oct 23 17:24:50 2014
New Revision: 273550
URL: https://svnweb.freebsd.org/changeset/base/273550
Log:
minor updates to make it more explicit that when using fpu_kern_thread,
you don't need to use fpu_kern_enter/_leave...
Reviewed by: kib
Modified:
head/share/man/man9/fpu_kern.9
Modified: head/share/man/man9/fpu_kern.9
==============================================================================
--- head/share/man/man9/fpu_kern.9 Thu Oct 23 15:35:47 2014 (r273549)
+++ head/share/man/man9/fpu_kern.9 Thu Oct 23 17:24:50 2014 (r273550)
@@ -23,7 +23,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 23, 2014
+.Dd October 23, 2014
.Dt FPU_KERN 9
.Os
.Sh NAME
@@ -157,12 +157,17 @@ There are no errors defined for the func
.Pp
The
.Fn fpu_kern_thread
-function provides an optimization for threads which never leave to
+function enables an optimization for threads which never leave to
the usermode.
-Such thread can reuse the usermode save area for the FPU state,
-which is allowed by the function call.
-There is no flags defined for the function, and no error states
+The current thread will reuse the usermode save area for the kernel FPU state
+instead of requiring an explicitly allocated context.
+There are no flags defined for the function, and no error states
that the function returns.
+Once this function has been called, neither
+.Fn fpu_kern_enter
+nor
+.Fn fpu_kern_leave
+is required to be called and the fpu is available for use in the calling thread.
.Pp
The
.Fn is_fpu_kern_thread
More information about the svn-src-head
mailing list