From 719e45f7e224bc3514d920d61a4b4eb4386af739 Mon Sep 17 00:00:00 2001 From: jruoho Date: Tue, 13 Apr 2010 17:34:18 +0000 Subject: [PATCH] cpu_swapout(9) is no more. --- distrib/sets/lists/comp/mi | 14 ++++----- share/man/man9/Makefile | 5 ++-- share/man/man9/cpu_swapout.9 | 58 ------------------------------------ 3 files changed, 9 insertions(+), 68 deletions(-) delete mode 100644 share/man/man9/cpu_swapout.9 diff --git a/distrib/sets/lists/comp/mi b/distrib/sets/lists/comp/mi index f8feb1938391..d78bbee786aa 100644 --- a/distrib/sets/lists/comp/mi +++ b/distrib/sets/lists/comp/mi @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.1431 2010/04/13 17:08:45 jruoho Exp $ +# $NetBSD: mi,v 1.1432 2010/04/13 17:34:18 jruoho Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. # @@ -8839,8 +8839,8 @@ ./usr/share/man/cat9/cpu_reboot.0 comp-sys-catman .cat ./usr/share/man/cat9/cpu_rootconf.0 comp-sys-catman .cat ./usr/share/man/cat9/cpu_startup.0 comp-sys-catman .cat -./usr/share/man/cat9/cpu_swapin.0 comp-sys-catman .cat -./usr/share/man/cat9/cpu_swapout.0 comp-sys-catman .cat +./usr/share/man/cat9/cpu_swapin.0 comp-obsolete obsolete +./usr/share/man/cat9/cpu_swapout.0 comp-obsolete obsolete ./usr/share/man/cat9/cpu_switch.0 comp-obsolete obsolete ./usr/share/man/cat9/cpu_switchto.0 comp-sys-catman .cat ./usr/share/man/cat9/cpu_sysctl.0 comp-obsolete obsolete @@ -14535,8 +14535,8 @@ ./usr/share/man/html9/cpu_reboot.html comp-sys-htmlman html ./usr/share/man/html9/cpu_rootconf.html comp-sys-htmlman html ./usr/share/man/html9/cpu_startup.html comp-sys-htmlman html -./usr/share/man/html9/cpu_swapin.html comp-sys-htmlman html -./usr/share/man/html9/cpu_swapout.html comp-sys-htmlman html +./usr/share/man/html9/cpu_swapin.html comp-obsolete obsolete +./usr/share/man/html9/cpu_swapout.html comp-obsolete obsolete ./usr/share/man/html9/cpu_switchto.html comp-sys-htmlman html ./usr/share/man/html9/crypto_dispatch.html comp-sys-htmlman html ./usr/share/man/html9/crypto_done.html comp-sys-htmlman html @@ -20356,8 +20356,8 @@ ./usr/share/man/man9/cpu_reboot.9 comp-sys-man .man ./usr/share/man/man9/cpu_rootconf.9 comp-sys-man .man ./usr/share/man/man9/cpu_startup.9 comp-sys-man .man -./usr/share/man/man9/cpu_swapin.9 comp-sys-man .man -./usr/share/man/man9/cpu_swapout.9 comp-sys-man .man +./usr/share/man/man9/cpu_swapin.9 comp-obsolete obsolete +./usr/share/man/man9/cpu_swapout.9 comp-obsolete obsolete ./usr/share/man/man9/cpu_switch.9 comp-obsolete obsolete ./usr/share/man/man9/cpu_switchto.9 comp-sys-man .man ./usr/share/man/man9/cpu_sysctl.9 comp-obsolete obsolete diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile index 9cb017107c01..e7f8d1a44a90 100644 --- a/share/man/man9/Makefile +++ b/share/man/man9/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.326 2010/04/13 08:40:19 jruoho Exp $ +# $NetBSD: Makefile,v 1.327 2010/04/13 17:34:18 jruoho Exp $ # Makefile for section 9 (kernel function and variable) manual pages. @@ -12,7 +12,7 @@ MAN= accept_filter.9 accf_data.9 accf_http.9 \ cpu_lwp_fork.9 \ cpu_idle.9 cpu_initclocks.9 cpu_need_resched.9 \ cpu_number.9 cpu_reboot.9 cpu_rootconf.9 \ - cpu_startup.9 cpu_swapout.9 cpu_switchto.9 \ + cpu_startup.9 cpu_switchto.9 \ csf.9 ctod.9 \ curproc.9 \ delay.9 disk.9 ddc.9 disklabel.9 dofileread.9 \ @@ -223,7 +223,6 @@ MLINKS+=cpu_dumpconf.9 cpu_dump.9 cpu_dumpconf.9 cpu_dumpsize.9 \ cpu_dumpconf.9 dumpsys.9 MLINKS+=cpu_lwp_fork.9 child_return.9 cpu_lwp_fork.9 proc_trampoline.9 MLINKS+=cpu_rootconf.9 setroot.9 -MLINKS+=cpu_swapout.9 cpu_swapin.9 MLINKS+=ctod.9 dtoc.9 \ ctod.9 ctob.9 \ ctod.9 btoc.9 \ diff --git a/share/man/man9/cpu_swapout.9 b/share/man/man9/cpu_swapout.9 deleted file mode 100644 index a19217852a42..000000000000 --- a/share/man/man9/cpu_swapout.9 +++ /dev/null @@ -1,58 +0,0 @@ -.\" $NetBSD: cpu_swapout.9,v 1.6 2008/05/31 16:24:59 enami Exp $ -.\" -.\" Copyright (c) 2002 The NetBSD Foundation, Inc. -.\" All rights reserved. -.\" -.\" This code is derived from software contributed to The NetBSD Foundation -.\" by Gregory McGarry. -.\" -.\" Redistribution and use in source and binary forms, with or without -.\" modification, are permitted provided that the following conditions -.\" are met: -.\" 1. Redistributions of source code must retain the above copyright -.\" notice, this list of conditions and the following disclaimer. -.\" 2. Redistributions in binary form must reproduce the above copyright -.\" notice, this list of conditions and the following disclaimer in the -.\" documentation and/or other materials provided with the distribution. -.\" -.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS -.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS -.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -.\" POSSIBILITY OF SUCH DAMAGE. -.\" -.Dd December 20, 2005 -.Dt CPU_SWAPOUT 9 -.Os -.Sh NAME -.Nm cpu_swapout , -.Nm cpu_swapin -.Nd machine-dependent swap interface -.Sh SYNOPSIS -.In sys/lwp.h -.In machine/cpu.h -.Ft void -.Fn cpu_swapout "struct lwp *l" -.Ft void -.Fn cpu_swapin "struct lwp *l" -.Sh DESCRIPTION -.Fn cpu_swapout -and -.Fn cpu_swapin -are the machine-dependent interface for swapping processes in and out -of the system. -They perform any machine-specific operations such as -saving and restoring floating point state. -They are invoked by -.Fn uvm_swapout -and -.Fn uvm_swapin -respectively. -.Sh SEE ALSO -.Xr uvm 9