diff options
author | Ariane van der Steldt <ariane@cvs.openbsd.org> | 2011-04-04 22:58:49 +0000 |
---|---|---|
committer | Ariane van der Steldt <ariane@cvs.openbsd.org> | 2011-04-04 22:58:49 +0000 |
commit | e08e69d8b3d1046716cb0a5a21deb93ef1b48a2f (patch) | |
tree | 7827999d41742d8bee464bc6e26d9722803c606a /sys/uvm | |
parent | 3438915a9aa516e82982b1fd3545a3306c2d7cfe (diff) |
Remove debug code.
Pointed out and ok mlarkin@
Diffstat (limited to 'sys/uvm')
-rw-r--r-- | sys/uvm/uvm_pmemrange.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/uvm/uvm_pmemrange.c b/sys/uvm/uvm_pmemrange.c index b029fc1d770..0b1c8582d52 100644 --- a/sys/uvm/uvm_pmemrange.c +++ b/sys/uvm/uvm_pmemrange.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_pmemrange.c,v 1.19 2011/04/03 22:07:37 ariane Exp $ */ +/* $OpenBSD: uvm_pmemrange.c,v 1.20 2011/04/04 22:58:48 ariane Exp $ */ /* * Copyright (c) 2009, 2010 Ariane van der Steldt <ariane@stack.nl> @@ -1844,7 +1844,6 @@ uvm_pmr_zero_everything(void) struct uvm_pmemrange *pmr; struct vm_page *pg; int i; - psize_t zeroed = 0; uvm_lock_fpageq(); TAILQ_FOREACH(pmr, &uvm.pmr_control.use, pmr_use) { @@ -1856,11 +1855,6 @@ uvm_pmr_zero_everything(void) atomic_setbits_int(&pg->pg_flags, PG_ZERO); uvmexp.zeropages++; uvm_pmr_insert(pmr, pg, 0); - - zeroed++; /* DEBUG */ - - if (zeroed % 1000) - printf("1"); } /* Zero multi page ranges. */ @@ -1874,10 +1868,6 @@ uvm_pmr_zero_everything(void) uvmexp.zeropages++; } uvm_pmr_insert(pmr, pg, 0); - - zeroed++; /* DEBUG */ - if (zeroed % 100) - printf("L"); } } uvm_unlock_fpageq(); |