Source-Changes-HG archive

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

[src/yamt-pagecache]: src/sys/uvm comment



details:   https://anonhg.NetBSD.org/src/rev/4d057c40e6e9
branches:  yamt-pagecache
changeset: 770877:4d057c40e6e9
user:      yamt <yamt%NetBSD.org@localhost>
date:      Wed Apr 18 13:39:28 2012 +0000

description:
comment

diffstat:

 sys/uvm/uvm_page_array.h |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (31 lines):

diff -r 5193768bb1bb -r 4d057c40e6e9 sys/uvm/uvm_page_array.h
--- a/sys/uvm/uvm_page_array.h  Wed Apr 18 13:38:27 2012 +0000
+++ b/sys/uvm/uvm_page_array.h  Wed Apr 18 13:39:28 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_page_array.h,v 1.1.2.4 2011/11/26 15:19:06 yamt Exp $      */
+/*     $NetBSD: uvm_page_array.h,v 1.1.2.5 2012/04/18 13:39:28 yamt Exp $      */
 
 /*-
  * Copyright (c)2011 YAMAMOTO Takashi,
@@ -38,16 +38,16 @@
  *
  * typical usage:
  *
- *     struct uvm_page_array ar;
+ *     struct uvm_page_array a;
  *
- *     uvm_page_array_init(&ar);
- *     while ((pg = uvm_page_array_fill_and_peek(&ar, uobj, off, ....))
+ *     uvm_page_array_init(&a);
+ *     while ((pg = uvm_page_array_fill_and_peek(&a, uobj, off, ....))
  *         != NULL) {
  *             off = pg->offset + PAGE_SIZE;
  *             do_something(pg);
- *             uvm_page_array_advance(&ar);
+ *             uvm_page_array_advance(&a);
  *     }
- *     uvm_page_array_fini(&it);
+ *     uvm_page_array_fini(&a);
  */
 
 struct vm_page;



Home | Main Index | Thread Index | Old Index