Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm Fix a comment.



details:   https://anonhg.NetBSD.org/src/rev/6db1f771cff7
branches:  trunk
changeset: 745177:6db1f771cff7
user:      ad <ad%NetBSD.org@localhost>
date:      Sun Feb 23 23:54:52 2020 +0000

description:
Fix a comment.

diffstat:

 sys/uvm/uvm_page.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2933d775d68c -r 6db1f771cff7 sys/uvm/uvm_page.c
--- a/sys/uvm/uvm_page.c        Sun Feb 23 23:32:57 2020 +0000
+++ b/sys/uvm/uvm_page.c        Sun Feb 23 23:54:52 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_page.c,v 1.226 2020/02/23 15:46:43 ad Exp $        */
+/*     $NetBSD: uvm_page.c,v 1.227 2020/02/23 23:54:52 ad Exp $        */
 
 /*-
  * Copyright (c) 2019, 2020 The NetBSD Foundation, Inc.
@@ -95,7 +95,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.226 2020/02/23 15:46:43 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.227 2020/02/23 23:54:52 ad Exp $");
 
 #include "opt_ddb.h"
 #include "opt_uvm.h"
@@ -1772,7 +1772,7 @@
 {
        struct vm_page *pg;
 
-       /* No - used from DDB. KASSERT(rw_write_held(obj->vmobjlock)); */
+       /* No - used from DDB. KASSERT(rw_lock_held(obj->vmobjlock)); */
 
        pg = radix_tree_lookup_node(&obj->uo_pages, off >> PAGE_SHIFT);
 



Home | Main Index | Thread Index | Old Index