From owner-svn-src-stable-10@FreeBSD.ORG Mon Jun 30 09:54:08 2014 Return-Path: Delivered-To: svn-src-stable-10@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E9ADDC90; Mon, 30 Jun 2014 09:54:08 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B8FEF239B; Mon, 30 Jun 2014 09:54:08 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5U9s8tt095994; Mon, 30 Jun 2014 09:54:08 GMT (envelope-from kib@svn.freebsd.org) Received: (from kib@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5U9s8MA095993; Mon, 30 Jun 2014 09:54:08 GMT (envelope-from kib@svn.freebsd.org) Message-Id: <201406300954.s5U9s8MA095993@svn.freebsd.org> From: Konstantin Belousov Date: Mon, 30 Jun 2014 09:54:08 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r268035 - stable/10/share/man/man9 X-SVN-Group: stable-10 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-10@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for only the 10-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2014 09:54:09 -0000 Author: kib Date: Mon Jun 30 09:54:08 2014 New Revision: 268035 URL: http://svnweb.freebsd.org/changeset/base/268035 Log: MFC r267768: Add documentation for the fpu_kern(9) interfaces. MFC r267785 (by brueffer): Several small fixes. Added: stable/10/share/man/man9/fpu_kern.9 - copied, changed from r267768, head/share/man/man9/fpu_kern.9 Modified: Directory Properties: stable/10/ (props changed) Copied and modified: stable/10/share/man/man9/fpu_kern.9 (from r267768, head/share/man/man9/fpu_kern.9) ============================================================================== --- head/share/man/man9/fpu_kern.9 Mon Jun 23 07:45:44 2014 (r267768, copy source) +++ stable/10/share/man/man9/fpu_kern.9 Mon Jun 30 09:54:08 2014 (r268035) @@ -23,8 +23,8 @@ .\" .\" $FreeBSD$ .\" -.Dd June 21, 2014 -.Dt KERN_FPU 9 +.Dd June 23, 2014 +.Dt FPU_KERN 9 .Os .Sh NAME .Nm fpu_kern @@ -47,11 +47,11 @@ The .Nm family of functions allows the use of FPU hardware in kernel code. Modern FPUs are not limited to providing hardware implementation for -floating point arithmetic, they offer advanced accelerators for cryptography +floating point arithmetic; they offer advanced accelerators for cryptography and other computational-intensive algorithms. These facilities share registers with the FPU hardware. .Pp -Typical kernel code does not need to access to the FPU. +Typical kernel code does not need access to the FPU. Saving a large register file on each entry to the kernel would waste time. When kernel code uses the FPU, the current FPU state must be saved to @@ -80,6 +80,7 @@ without sleep. .It 0 No special handling is required. .El +.Pp The function returns the allocated context area, or .Va NULL if the allocation failed. @@ -121,6 +122,7 @@ The function correctly handles such contexts. .El .El +.Pp The function does not sleep or block. It could cause the .Nm Device Not Available @@ -173,7 +175,7 @@ and false otherwise. .Sh NOTES The .Nm -is currently implemented only for i386 and amd64 architectures. +is currently implemented only for the i386 and amd64 architectures. .Pp There is no way to handle floating point exceptions raised from kernel mode.