diff options
author | phk <phk@FreeBSD.org> | 2000-03-16 08:51:55 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-03-16 08:51:55 +0000 |
commit | 6b3385b7739c4d2d08aab8eb870efd47663efe4b (patch) | |
tree | b6a76651fe554cb41f35772ffdbaad23da921695 /sys/vm/vm_object.c | |
parent | 54ba9c4d1b2ccfc21ec86916fa24df94f359bdeb (diff) | |
download | FreeBSD-src-6b3385b7739c4d2d08aab8eb870efd47663efe4b.zip FreeBSD-src-6b3385b7739c4d2d08aab8eb870efd47663efe4b.tar.gz |
Eliminate the undocumented, experimental, non-delivering and highly
dangerous MAX_PERF option.
Diffstat (limited to 'sys/vm/vm_object.c')
-rw-r--r-- | sys/vm/vm_object.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index 6da6c9b..23354bd 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -249,9 +249,7 @@ vm_object_reference(object) object->ref_count++; if (object->type == OBJT_VNODE) { while (vget((struct vnode *) object->handle, LK_RETRY|LK_NOOBJ, curproc)) { -#if !defined(MAX_PERF) printf("vm_object_reference: delay in getting object\n"); -#endif } } } @@ -440,10 +438,8 @@ vm_object_terminate(object) */ s = splvm(); while ((p = TAILQ_FIRST(&object->memq)) != NULL) { -#if !defined(MAX_PERF) if (p->busy || (p->flags & PG_BUSY)) panic("vm_object_terminate: freeing busy page %p\n", p); -#endif if (p->wire_count == 0) { vm_page_busy(p); vm_page_free(p); |