projects
/
dragonfly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d674fdb
)
kernel - remove PAGE RACE kprintf
author
Matthew Dillon <dillon@apollo.backplane.com>
Sat, 2 Mar 2013 01:08:33 +0000 (17:08 -0800)
committer
Matthew 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
patch
|
blob
|
blame
|
history
diff --git
a/sys/vm/vm_page.c
b/sys/vm/vm_page.c
index
b2a4e78
..
9a65c78
100644
(file)
--- a/
sys/vm/vm_page.c
+++ b/
sys/vm/vm_page.c
@@
-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;