Module Name:    src
Committed By:   jdolecek
Date:           Sat May 12 15:03:20 UTC 2018

Modified Files:
        src/share/man/man9: ubc.9

Log Message:
adjust description for ubc_uiomove() to not reference lenp variable (that part
was carried over from ubc_alloc() description), and instead mention the 
restriction
to ubc_winsize


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/share/man/man9/ubc.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man9/ubc.9
diff -u src/share/man/man9/ubc.9:1.14 src/share/man/man9/ubc.9:1.15
--- src/share/man/man9/ubc.9:1.14	Sat May 12 14:49:34 2018
+++ src/share/man/man9/ubc.9	Sat May 12 15:03:19 2018
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ubc.9,v 1.14 2018/05/12 14:49:34 jdolecek Exp $
+.\"	$NetBSD: ubc.9,v 1.15 2018/05/12 15:03:19 jdolecek Exp $
 .\"
 .\" Copyright (c) 1998 Matthew R. Green
 .\" All rights reserved.
@@ -78,9 +78,7 @@ UBC memory window is a kernel mapping of
 .Fa uobj
 starting at offset
 .Fa offset .
-The desired length of the mapping is pointed to by
-.Fa lenp ,
-but the actual mapping may be smaller than this.
+.Pp
 Once the mapping is created, it must be accessed only by methods that can
 handle faults, such as
 .Xr uiomove 9
@@ -89,7 +87,17 @@ or
 Page faults on the mapping will result in the object's pager
 method being called to resolve the fault.
 .Pp
-The mapping may be cached to speed future accesses to the same region
+Size of individual UBC memory window is limited to
+.Va ubc_winsize .
+.Fn ubc_uiomove
+sequentially creates the UBC memory windows to eventually process
+the whole range according to
+.Fa offset
+and
+.Fa len
+parameters.
+.Pp
+The mappings may be cached to speed future accesses to the same region
 of the object, unless
 .Dv UBC_UNMAP
 was specified in

Reply via email to