Source-Changes-HG archive

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

[src/trunk]: src/share/man/man9 Clarify uvm_km_alloc is contiguous and zero r...



details:   https://anonhg.NetBSD.org/src/rev/a9485465d1b3
branches:  trunk
changeset: 335484:a9485465d1b3
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Jan 08 23:43:11 2015 +0000

description:
Clarify uvm_km_alloc is contiguous and zero result means fail.

diffstat:

 share/man/man9/uvm_km.9 |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 12655c8949cc -r a9485465d1b3 share/man/man9/uvm_km.9
--- a/share/man/man9/uvm_km.9   Thu Jan 08 23:39:57 2015 +0000
+++ b/share/man/man9/uvm_km.9   Thu Jan 08 23:43:11 2015 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: uvm_km.9,v 1.3 2014/05/14 16:16:55 riastradh Exp $
+.\"    $NetBSD: uvm_km.9,v 1.4 2015/01/08 23:43:11 riastradh Exp $
 .\"
 .\" Copyright (c) 1998 Matthew R. Green
 .\" All rights reserved.
@@ -50,10 +50,11 @@
 interface should be used.
 .Sh FUNCTIONS
 .Fn uvm_km_alloc
-allocates
+allocates a contiguous range of
 .Fa size
 bytes of kernel memory in map
-.Fa map .
+.Fa map
+and returns the virtual address of the range, or returns zero on failure.
 The first address of the allocated memory range will be aligned according to the
 .Fa align
 argument



Home | Main Index | Thread Index | Old Index