diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2014-06-30 21:48:10 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2014-06-30 21:48:10 +0000 |
commit | 649af46e85739a15c4151fd2dde9112a1dac87d3 (patch) | |
tree | c860006f9358bdddae48f416bff638e62c266c16 /share | |
parent | 3fb56dacea899e9663aa318e1964b35e71587a0c (diff) |
Remove some dead functions from uvm.9:
uvm_fork() was removed by uvm_glue.c r1.65 (2014-05-15)
uvm_scheduler() was removed by uvm_glue.c r1.50 (2009-08-11)
uvm_swapin() was removed by uvm_glue.c r1.45 (2006-11-29)
RIP
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/Makefile | 6 | ||||
-rw-r--r-- | share/man/man9/uvm.9 | 49 |
2 files changed, 4 insertions, 51 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile index 40625241aa6..d5e5cdcb5d0 100644 --- a/share/man/man9/Makefile +++ b/share/man/man9/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.209 2014/04/19 11:38:13 henning Exp $ +# $OpenBSD: Makefile,v 1.210 2014/06/30 21:48:09 matthew Exp $ # $NetBSD: Makefile,v 1.4 1996/01/09 03:23:01 thorpej Exp $ # Makefile for section 9 (kernel function and variable) manual pages. @@ -386,11 +386,11 @@ MLINKS+=uvm.9 uvm_init.9 uvm.9 uvm_init_limits.9 uvm.9 uvm_setpagesize.9 \ uvm.9 uvm_km_free.9 uvm.9 uvm_km_free_wakeup.9 uvm.9 uvm_pagealloc.9 \ uvm.9 uvm_pagerealloc.9 uvm.9 uvm_pagefree.9 uvm.9 uvm_pglistalloc.9 \ uvm.9 uvm_pglistfree.9 uvm.9 uvm_page_physload.9 \ - uvm.9 uvm_pageout.9 uvm.9 uvm_scheduler.9 uvm.9 uvm_swapin.9 \ + uvm.9 uvm_pageout.9 \ uvm.9 uao_create.9 uvm.9 uao_detach.9 uvm.9 uao_reference.9 \ uvm.9 uvm_chgkprot.9 uvm.9 uvm_kernacc.9 \ uvm.9 uvm_vslock.9 uvm.9 uvm_vsunlock.9 uvm.9 uvm_meter.9 \ - uvm.9 uvm_sysctl.9 uvm.9 uvm_fork.9 uvm.9 uvm_grow.9 \ + uvm.9 uvm_sysctl.9 uvm.9 uvm_grow.9 \ uvm.9 uvm_coredump.9 MLINKS+=vfs_busy.9 vfs_isbusy.9 vfs_busy.9 vfs_unbusy.9 MLINKS+=vfs_cache.9 cache_enter.9 vfs_cache.9 cache_lookup.9 \ diff --git a/share/man/man9/uvm.9 b/share/man/man9/uvm.9 index 953abb1526e..e6adf25b83a 100644 --- a/share/man/man9/uvm.9 +++ b/share/man/man9/uvm.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: uvm.9,v 1.54 2014/06/30 17:57:15 matthew Exp $ +.\" $OpenBSD: uvm.9,v 1.55 2014/06/30 21:48:09 matthew Exp $ .\" $NetBSD: uvm.9,v 1.14 2000/06/29 06:08:44 mrg Exp $ .\" .\" Copyright (c) 1998 Matthew R. Green @@ -762,10 +762,6 @@ addresses of pages not already in use. .nr nS 1 .Ft void .Fn uvm_pageout "void *arg" -.Ft void -.Fn uvm_scheduler "void" -.Ft void -.Fn uvm_swapin "struct proc *p" .nr nS 0 .Pp The @@ -774,18 +770,6 @@ function is the main loop for the page daemon. The .Fa arg argument is ignored. -.Pp -The -.Fn uvm_scheduler -function is the process zero main loop, which is to be called after the -system has finished starting other processes. -.Fn uvm_scheduler -handles the swapping in of runnable, swapped out processes in priority -order. -.Pp -The -.Fn uvm_swapin -function swaps in the named process. .Sh MISCELLANEOUS FUNCTIONS .nr nS 1 .Ft struct uvm_object * @@ -807,10 +791,6 @@ function swaps in the named process. .Fn uvm_meter .Ft int .Fn uvm_sysctl "int *name" "u_int namelen" "void *oldp" "size_t *oldlenp" "void *newp " "size_t newlen" "struct proc *p" -.Ft void -.Fn uvm_fork "struct proc *p1" "struct proc *p2" "boolean_t shared" \ - "void *stack" "size_t stacksize" "void (*func)(void *arg)" \ - "void *arg" .Ft int .Fn uvm_grow "struct proc *p" "vaddr_t sp" .Ft int @@ -1012,29 +992,6 @@ int kmapent; /* number of kernel map entries */ .Ed .Pp The -.Fn uvm_fork -function forks a virtual address space for process' (old) -.Fa p1 -and (new) -.Fa p2 . -If the -.Fa shared -argument is non zero, p1 shares its address space with p2, -otherwise a new address space is created. -The -.Fa stack , -.Fa stacksize , -.Fa func -and -.Fa arg -arguments are passed to the machine-dependent -.Fn cpu_fork -function. -The -.Fn uvm_fork -function currently has no return value, and thus cannot fail. -.Pp -The .Fn uvm_grow function increases the stack segment of process .Fa p @@ -1107,7 +1064,3 @@ UVM to support System V shared memory and process swapping. handled the logistical issues involved with merging UVM into the .Ox source tree. -.Sh BUGS -The -.Fn uvm_fork -function should be able to fail in low memory conditions. |