summaryrefslogtreecommitdiff
path: root/share/man/man9
diff options
context:
space:
mode:
authorScott Soule Cheloha <cheloha@cvs.openbsd.org>2023-06-21 21:16:22 +0000
committerScott Soule Cheloha <cheloha@cvs.openbsd.org>2023-06-21 21:16:22 +0000
commitd75f65d40a7b2cf83a64349d3434fae7d50c2283 (patch)
treec73cd54fb8f78feab80f4c940bab73287ffefb12 /share/man/man9
parent9d7d271e2ca581fa830b3329bc6d5a263e4c7cde (diff)
Revert "schedcpu, uvm_meter(9): make uvm_meter() an independent timeout"
Sometimes causes boot hang after mounting root partition. Thread 1: https://marc.info/?l=openbsd-misc&m=168736497407357&w=2 Thread 2: https://marc.info/?l=openbsd-misc&m=168737429214370&w=2
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/uvm_init.98
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man9/uvm_init.9 b/share/man/man9/uvm_init.9
index 636a16a13b3..a8493cd90df 100644
--- a/share/man/man9/uvm_init.9
+++ b/share/man/man9/uvm_init.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: uvm_init.9,v 1.6 2023/06/20 16:30:30 cheloha Exp $
+.\" $OpenBSD: uvm_init.9,v 1.7 2023/06/21 21:16:21 cheloha Exp $
.\" $NetBSD: uvm.9,v 1.14 2000/06/29 06:08:44 mrg Exp $
.\"
.\" Copyright (c) 1998 Matthew R. Green
@@ -28,7 +28,7 @@
.\" XXX this manual sets nS to 1 or 0 in the description, to obtain
.\" synopsis-like function prototypes. any better way?
.\"
-.Dd $Mdocdate: June 20 2023 $
+.Dd $Mdocdate: June 21 2023 $
.Dt UVM_INIT 9
.Os
.Sh NAME
@@ -168,7 +168,7 @@ argument is ignored.
.Ft void
.Fn uvm_kernacc "caddr_t addr" "size_t len" "int rw"
.Ft void
-.Fn uvm_meter "void *"
+.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 int
@@ -212,7 +212,7 @@ access, in the kernel address space.
.Pp
The
.Fn uvm_meter
-function periodically recomputes the load average.
+function calculates the load average and wakes up the swapper if necessary.
.Pp
The
.Fn uvm_sysctl