summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_fault.c
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2002-04-17 02:23:57 +0000
committeralc <alc@FreeBSD.org>2002-04-17 02:23:57 +0000
commit49bc4331bdcc7e1dfd902339a11b7696afa4b34c (patch)
tree00e6b9a97941ea1392fe0cc08d6e1f249fb970cb /sys/vm/vm_fault.c
parent6281c9a4f4834b95c8ec9054940ce62ee7d54dc2 (diff)
downloadFreeBSD-src-49bc4331bdcc7e1dfd902339a11b7696afa4b34c.zip
FreeBSD-src-49bc4331bdcc7e1dfd902339a11b7696afa4b34c.tar.gz
Remove an unused option, VM_FAULT_HOLD, to vm_fault().
Diffstat (limited to 'sys/vm/vm_fault.c')
-rw-r--r--sys/vm/vm_fault.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c
index 3466360..81f89f5 100644
--- a/sys/vm/vm_fault.c
+++ b/sys/vm/vm_fault.c
@@ -844,8 +844,6 @@ readrest:
}
vm_page_flag_clear(fs.m, PG_ZERO);
vm_page_flag_set(fs.m, PG_MAPPED|PG_REFERENCED);
- if (fault_flags & VM_FAULT_HOLD)
- vm_page_hold(fs.m);
/*
* If the page is not wired down, then put it where the pageout daemon
OpenPOWER on IntegriCloud