Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/yamt-pagecache]: src/sys/uvm remove a redundant assertion
details: https://anonhg.NetBSD.org/src/rev/0a404d5c9c75
branches: yamt-pagecache
changeset: 770865:0a404d5c9c75
user: yamt <yamt%NetBSD.org@localhost>
date: Tue Jan 24 02:10:47 2012 +0000
description:
remove a redundant assertion
diffstat:
sys/uvm/uvm_pager.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 2e0fc4d8594a -r 0a404d5c9c75 sys/uvm/uvm_pager.c
--- a/sys/uvm/uvm_pager.c Tue Jan 24 02:09:34 2012 +0000
+++ b/sys/uvm/uvm_pager.c Tue Jan 24 02:10:47 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_pager.c,v 1.107.2.1 2011/11/02 21:54:01 yamt Exp $ */
+/* $NetBSD: uvm_pager.c,v 1.107.2.2 2012/01/24 02:10:47 yamt Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_pager.c,v 1.107.2.1 2011/11/02 21:54:01 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_pager.c,v 1.107.2.2 2012/01/24 02:10:47 yamt Exp $");
#include "opt_uvmhist.h"
#include "opt_readahead.h"
@@ -421,7 +421,6 @@
pg->pqflags |= PQ_READAHEAD;
uvm_ra_total.ev_count++;
#endif /* defined(READAHEAD_STATS) */
- KASSERT((pg->flags & PG_CLEAN) != 0);
KASSERT(uvm_pagegetdirty(pg) == UVM_PAGE_STATUS_CLEAN);
uvm_pageenqueue(pg);
}
Home |
Main Index |
Thread Index |
Old Index