Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Minor correction to previous.
details: https://anonhg.NetBSD.org/src/rev/d46763ced3c8
branches: trunk
changeset: 933502:d46763ced3c8
user: ad <ad%NetBSD.org@localhost>
date: Mon May 25 21:22:40 2020 +0000
description:
Minor correction to previous.
diffstat:
sys/uvm/uvm_page_array.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r fd4e40af92bd -r d46763ced3c8 sys/uvm/uvm_page_array.c
--- a/sys/uvm/uvm_page_array.c Mon May 25 21:15:10 2020 +0000
+++ b/sys/uvm/uvm_page_array.c Mon May 25 21:22:40 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_page_array.c,v 1.6 2020/05/25 21:15:10 ad Exp $ */
+/* $NetBSD: uvm_page_array.c,v 1.7 2020/05/25 21:22:40 ad Exp $ */
/*-
* Copyright (c)2011 YAMAMOTO Takashi,
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_page_array.c,v 1.6 2020/05/25 21:15:10 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_page_array.c,v 1.7 2020/05/25 21:22:40 ad Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -195,10 +195,9 @@
for (i = 0; i < ar->ar_npages; i++) {
struct vm_page * const pg = ar->ar_pages[i];
- if (!dense && pg == NULL) {
+ if (pg == NULL) {
continue;
}
- KDASSERT(pg != NULL);
KDASSERT(pg->uobject == uobj);
if (backward) {
KDASSERT(pg->offset <= off);
Home |
Main Index |
Thread Index |
Old Index