Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9 update uvm_page_physload() description for "w...
details: https://anonhg.NetBSD.org/src/rev/26159b0f94d7
branches: trunk
changeset: 532203:26159b0f94d7
user: drochner <drochner%NetBSD.org@localhost>
date: Sun Jun 02 14:59:11 2002 +0000
description:
update uvm_page_physload() description for "waitok" and "nsegs"
obeyed now, and clarify "rlist" initialization.
diffstat:
share/man/man9/uvm.9 | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 5c8cbbbb5494 -r 26159b0f94d7 share/man/man9/uvm.9
--- a/share/man/man9/uvm.9 Sun Jun 02 14:56:47 2002 +0000
+++ b/share/man/man9/uvm.9 Sun Jun 02 14:59:11 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: uvm.9,v 1.33 2002/03/29 08:56:31 manu Exp $
+.\" $NetBSD: uvm.9,v 1.34 2002/06/02 14:59:11 drochner Exp $
.\"
.\" Copyright (c) 1998 Matthew R. Green
.\" All rights reserved.
@@ -619,11 +619,18 @@
.Fa boundary
is non-zero, no segment of the list may cross this power-of-two
boundary, relative to zero.
-The
.Fa nsegs
-and
+is the maximum number of physically contigous segments. If
+.Fa waitok
+is non-zero, the function may sleep until enough memory is available.
+(It also may give up in some situations, so a non-zero
.Fa waitok
-arguments are currently ignored.
+does not imply that
+.Fn uvm_pglistalloc
+cannot return an error.) The allocated memory is returned in the
+.Fa rlist
+list; the caller has to provide storage only, the list is initialized by
+.Fn uvm_pglistalloc .
.Pp
.Fn uvm_pglistfree
frees the list of pages pointed to by
Home |
Main Index |
Thread Index |
Old Index