⬢ DragonFlyBSD Kernel Audit
DF-5813 / fix.diff
← back to finding ↓ download raw
--- a/sys/vm/vm_pageout.c	2026-10-13 03:47:49.422426023 +0000
+++ b/sys/vm/vm_pageout.c	2026-10-13 03:48:29.585901545 +0000
@@ -1337,9 +1337,6 @@
 			if (m->queue - m->pc != PQ_INACTIVE ||
 			    m->object != object ||
 			    object->handle != vp) {
-				kprintf("vm_pageout_page: "
-					"rebusy %p failed(A)\n",
-					m);
 				goto rebusy_failed;
 			}
 
@@ -1347,15 +1344,9 @@
 			 * Check page validity
 			 */
 			if (m->valid == 0 && (m->flags & PG_NEED_COMMIT) == 0) {
-				kprintf("vm_pageout_page: "
-					"rebusy %p failed(B)\n",
-					m);
 				goto rebusy_failed;
 			}
 			if (m->dirty == 0 && (m->flags & PG_NEED_COMMIT) == 0) {
-				kprintf("vm_pageout_page: "
-					"rebusy %p failed(C)\n",
-					m);
 				goto rebusy_failed;
 			}
 
@@ -1725,9 +1716,6 @@
 		 * in a cache-like state we will deactivate and skip it.
 		 */
 		if ((m->flags & PG_MAPPED) || (m->valid & m->dirty)) {
-			kprintf("WARNING! page race during find/busy: %p "
-				"queue == %d dirty=%02x\n",
-				m, m->queue - m->pc, m->dirty);
 		}
 
 		/*