Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2014 17:24:50 +0000 (UTC)
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r273550 - head/share/man/man9
Message-ID:  <201410231724.s9NHOoTe053725@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410231724.s9NHOoTe053725>