Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src g/c obsolete cpu_wait(9)



details:   https://anonhg.NetBSD.org/src/rev/6d48bbb17f98
branches:  trunk
changeset: 558098:6d48bbb17f98
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Wed Jan 28 17:44:25 2004 +0000

description:
g/c obsolete cpu_wait(9)
reported in PR misc/24260 by Nicolas Joly

diffstat:

 distrib/sets/lists/comp/mi |   6 ++--
 share/man/man9/Makefile    |   4 +-
 share/man/man9/cpu_wait.9  |  60 ----------------------------------------------
 3 files changed, 5 insertions(+), 65 deletions(-)

diffs (109 lines):

diff -r 80ab643b45bd -r 6d48bbb17f98 distrib/sets/lists/comp/mi
--- a/distrib/sets/lists/comp/mi        Wed Jan 28 17:35:58 2004 +0000
+++ b/distrib/sets/lists/comp/mi        Wed Jan 28 17:44:25 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: mi,v 1.666 2004/01/27 23:05:18 tsarna Exp $
+#      $NetBSD: mi,v 1.667 2004/01/28 17:44:25 jdolecek Exp $
 ./usr/bin/addr2line                            comp-debug-bin          bfd
 ./usr/bin/ar                                   comp-util-bin           bfd
 ./usr/bin/as                                   comp-util-bin           bfd
@@ -4760,7 +4760,7 @@
 ./usr/share/man/cat9/cpu_swapout.0             comp-sys-catman         .cat
 ./usr/share/man/cat9/cpu_switch.0              comp-sys-catman         .cat
 ./usr/share/man/cat9/cpu_sysctl.0              comp-obsolete           obsolete
-./usr/share/man/cat9/cpu_wait.0                        comp-sys-catman         .cat
+./usr/share/man/cat9/cpu_wait.0                        comp-obsolete           obsolete
 ./usr/share/man/cat9/crcopy.0                  comp-sys-catman         .cat
 ./usr/share/man/cat9/crcvt.0                   comp-sys-catman         .cat
 ./usr/share/man/cat9/crdup.0                   comp-sys-catman         .cat
@@ -8366,7 +8366,7 @@
 ./usr/share/man/man9/cpu_swapout.9             comp-sys-man            .man
 ./usr/share/man/man9/cpu_switch.9              comp-sys-man            .man
 ./usr/share/man/man9/cpu_sysctl.9              comp-obsolete           obsolete
-./usr/share/man/man9/cpu_wait.9                        comp-sys-man            .man
+./usr/share/man/man9/cpu_wait.9                        comp-obsolete           obsolete
 ./usr/share/man/man9/crcopy.9                  comp-sys-man            .man
 ./usr/share/man/man9/crcvt.9                   comp-sys-man            .man
 ./usr/share/man/man9/crdup.9                   comp-sys-man            .man
diff -r 80ab643b45bd -r 6d48bbb17f98 share/man/man9/Makefile
--- a/share/man/man9/Makefile   Wed Jan 28 17:35:58 2004 +0000
+++ b/share/man/man9/Makefile   Wed Jan 28 17:44:25 2004 +0000
@@ -1,4 +1,4 @@
-#       $NetBSD: Makefile,v 1.153 2004/01/21 03:02:06 atatat Exp $
+#       $NetBSD: Makefile,v 1.154 2004/01/28 17:44:25 jdolecek Exp $
 
 #      Makefile for section 9 (kernel function and variable) manual pages.
 
@@ -9,7 +9,7 @@
        cpu_configure.9 cpu_coredump.9 cpu_dumpconf.9 cpu_exit.9 cpu_idle.9 \
        cpu_fork.9 \
        cpu_initclocks.9 cpu_number.9 cpu_reboot.9 cpu_rootconf.9 \
-       cpu_startup.9 cpu_swapout.9 cpu_wait.9 \
+       cpu_startup.9 cpu_swapout.9 \
        cred.9 ctxsw.9 curproc.9 \
        delay.9 disk.9 disklabel.9 dofileread.9 \
        dopowerhooks.9 do_setresuid.9 doshutdownhooks.9 driver.9 \
diff -r 80ab643b45bd -r 6d48bbb17f98 share/man/man9/cpu_wait.9
--- a/share/man/man9/cpu_wait.9 Wed Jan 28 17:35:58 2004 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-.\"     $NetBSD: cpu_wait.9,v 1.2 2003/04/16 13:35:27 wiz 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.
-.\" 3. All advertising materials mentioning features or use of this software
-.\"    must display the following acknowledgement:
-.\"        This product includes software developed by the NetBSD
-.\"        Foundation, Inc. and its contributors.
-.\" 4. Neither the name of The NetBSD Foundation nor the names of its
-.\"    contributors may be used to endorse or promote products derived
-.\"    from this software without specific prior written permission.
-.\"
-.\" 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 May 24, 2002
-.Dt CPU_WAIT 9
-.Os
-.Sh NAME
-.Nm cpu_wait
-.Nd free machine-dependent resources
-.Sh SYNOPSIS
-.In sys/proc.h
-.Ft void
-.Fn cpu_wait "struct proc *p"
-.Sh DESCRIPTION
-.Fn cpu_wait
-is called from the reaper kernel thread to let machine-dependent code
-free machine-dependent resources that couldn't be freed in
-.Fn cpu_exit
-while still running on that process's context.
-.Pp
-.Fn cpu_wait
-must be invoked before
-.Fn uvm_exit
-in case these resources are in the PCB.
-.Sh SEE ALSO
-.Xr cpu_exit 9 ,
-.Xr uvm 9



Home | Main Index | Thread Index | Old Index