summaryrefslogtreecommitdiffstats
path: root/share/man
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>2014-10-23 17:24:50 +0000
committerjmg <jmg@FreeBSD.org>2014-10-23 17:24:50 +0000
commit5c564e29454aad4a7cbd310c7c03407b3ce7f4c2 (patch)
tree1f14e75fd534eacf87b4c3dc05422af4b565b667 /share/man
parentb26a2106d96e9fa2e89b53fc663c4e78cc3b2ffd (diff)
downloadFreeBSD-src-5c564e29454aad4a7cbd310c7c03407b3ce7f4c2.zip
FreeBSD-src-5c564e29454aad4a7cbd310c7c03407b3ce7f4c2.tar.gz
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
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man9/fpu_kern.915
1 files changed, 10 insertions, 5 deletions
diff --git a/share/man/man9/fpu_kern.9 b/share/man/man9/fpu_kern.9
index 207e5e8..748e6fc 100644
--- a/share/man/man9/fpu_kern.9
+++ b/share/man/man9/fpu_kern.9
@@ -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 function, it always returns 0.
.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
OpenPOWER on IntegriCloud