kernel - remove PAGE RACE kprintf
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 2 Mar 2013 01:08:33 +0000 (17:08 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 2 Mar 2013 01:08:33 +0000 (17:08 -0800)
* Used for debugging verification of the race, no longer needed.

Reported-by: tuxillo
sys/vm/vm_page.c

index b2a4e78..9a65c78 100644 (file)
@@ -1651,12 +1651,11 @@ done:
         */
        if (object) {
                if (vm_page_insert(m, object, pindex) == FALSE) {
-                       kprintf("PAGE RACE (%p:%d,%"PRIu64")\n",
-                               object, object->type, pindex);
                        vm_page_free(m);
-                       m = NULL;
                        if ((page_req & VM_ALLOC_NULL_OK) == 0)
-                               panic("PAGE RACE");
+                               panic("PAGE RACE %p[%ld]/%p",
+                                     object, (long)pindex, m);
+                       m = NULL;
                }
        } else {
                m->pindex = pindex;