diff options
author | jhb <jhb@FreeBSD.org> | 2009-07-24 15:06:49 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2009-07-24 15:06:49 +0000 |
commit | b6b550b7e411a3f88ff1edd133a162f1807551d8 (patch) | |
tree | 32b690696e4bbdf1b5910f0c8427e5c4546daec8 /sys/vm/sg_pager.c | |
parent | 7931ef2c42a175d0957f704dfff6807c82adecff (diff) | |
download | FreeBSD-src-b6b550b7e411a3f88ff1edd133a162f1807551d8.zip FreeBSD-src-b6b550b7e411a3f88ff1edd133a162f1807551d8.tar.gz |
Remove debugging that crept in with previous commit.
Reported by: nwhitehorn
Approved by: re (kib)
Diffstat (limited to 'sys/vm/sg_pager.c')
-rw-r--r-- | sys/vm/sg_pager.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/vm/sg_pager.c b/sys/vm/sg_pager.c index bf3390f..6e3da80 100644 --- a/sys/vm/sg_pager.c +++ b/sys/vm/sg_pager.c @@ -193,19 +193,15 @@ sg_pager_getpages(vm_object_t object, vm_page_t *m, int count, int reqpage) ("backing page for SG is fake")); /* Construct a new fake page. */ - printf("SG: getting fake page for paddr %lx\n", paddr); page = sg_pager_getfake(paddr, memattr); VM_OBJECT_LOCK(object); TAILQ_INSERT_TAIL(&object->un_pager.sgp.sgp_pglist, page, pageq); /* Free the original pages and insert this fake page into the object. */ vm_page_lock_queues(); - for (i = 0; i < count; i++) { - printf("SG: freeing VM page %p\n", m[i]); + for (i = 0; i < count; i++) vm_page_free(m[i]); - } vm_page_unlock_queues(); - printf("SG: Inserting new fake page\n"); vm_page_insert(page, object, offset); m[reqpage] = page; |