summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-11-04 21:37:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-11-04 21:37:08 +0000
commite3286bedbccf3bcd35fc7c7ec318a8d2e0691440 (patch)
tree96b0b181377a881eef857fb1ded21218fa4c1211 /share
parent9a86b5ba260258b5ba3bb8e151309cc4a443f84f (diff)
uvmspace_unshare() is never used; ok miod
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/Makefile5
-rw-r--r--share/man/man9/uvm.913
2 files changed, 4 insertions, 14 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index f982f39cdef..b29e8dbd172 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.145 2008/10/27 08:56:49 dlg Exp $
+# $OpenBSD: Makefile,v 1.146 2008/11/04 21:37:07 deraadt Exp $
# $NetBSD: Makefile,v 1.4 1996/01/09 03:23:01 thorpej Exp $
# Makefile for section 9 (kernel function and variable) manual pages.
@@ -303,8 +303,7 @@ MLINKS+=uvm.9 uvm_init.9 uvm.9 uvm_init_limits.9 uvm.9 uvm_setpagesize.9 \
uvm.9 uvm_map_pageable_all.9 uvm.9 uvm_map_checkprot.9 \
uvm.9 uvm_map_protect.9 uvm.9 uvm_deallocate.9 uvm.9 uvmspace_alloc.9 \
uvm.9 uvmspace_exec.9 uvm.9 uvmspace_fork.9 uvm.9 uvmspace_free.9 \
- uvm.9 uvmspace_share.9 uvm.9 uvmspace_unshare.9 uvm.9 UVM_MAPFLAG.9 \
- uvm.9 uvm_fault.9 \
+ uvm.9 uvmspace_share.9 uvm.9 UVM_MAPFLAG.9 uvm.9 uvm_fault.9 \
uvm.9 uvn_attach.9 uvm.9 uvm_vnp_setsize.9 uvm.9 uvm_vnp_sync.9 \
uvm.9 uvm_vnp_terminate.9 uvm.9 uvm_vnp_uncache.9 uvm.9 uvm_io.9 \
uvm.9 uvm_km_alloc.9 uvm.9 uvm_km_zalloc.9 uvm.9 uvm_km_alloc1.9 \
diff --git a/share/man/man9/uvm.9 b/share/man/man9/uvm.9
index f00f7c1b011..c7ed66ae8d5 100644
--- a/share/man/man9/uvm.9
+++ b/share/man/man9/uvm.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: uvm.9,v 1.36 2008/10/16 16:22:10 jmc Exp $
+.\" $OpenBSD: uvm.9,v 1.37 2008/11/04 21:37:07 deraadt Exp $
.\" $NetBSD: uvm.9,v 1.14 2000/06/29 06:08:44 mrg Exp $
.\"
.\" Copyright (c) 1998 Matthew R. Green
@@ -30,7 +30,7 @@
.\" XXX this manual sets nS to 1 or 0 in the description, to obtain
.\" synopsis-like function prototypes. any better way?
.\"
-.Dd $Mdocdate: October 16 2008 $
+.Dd $Mdocdate: November 4 2008 $
.Dt UVM 9
.Os
.Sh NAME
@@ -141,8 +141,6 @@ function initialises the swap subsystem.
.Fn uvmspace_free "struct vmspace *vm1"
.Ft void
.Fn uvmspace_share "struct proc *p1" "struct proc *p2"
-.Ft void
-.Fn uvmspace_unshare "struct proc *p"
.Ft int
.Fn UVM_MAPFLAG "vm_prot_t prot" "vm_prot_t maxprot" "vm_inherit_t inh" "int advice" "int flags"
.nr nS 0
@@ -401,13 +399,6 @@ function causes process
to share the address space of
.Fa p1 .
.Pp
-The
-.Fn uvmspace_unshare
-function ensures that process
-.Fa p
-has its own, unshared address space, by creating a new one if
-necessary by calling
-.Fn uvmspace_fork .
.Sh PAGE FAULT HANDLING
.nr nS 1
.Ft int