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/815f5dd3c6e6
branches: trunk
changeset: 972418:815f5dd3c6e6
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 b23e2631da7a -r 815f5dd3c6e6 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