diff options
author | alc <alc@FreeBSD.org> | 2010-04-28 06:34:47 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2010-04-28 06:34:47 +0000 |
commit | bf8b583320ded917c381fddea802978da3283373 (patch) | |
tree | ba6d24bc0616fb8f4defcb44d6ea20893e38f02d | |
parent | e3ebeca68ee63f3d21dcf972f4bce28fd2cb8fae (diff) | |
download | FreeBSD-src-bf8b583320ded917c381fddea802978da3283373.zip FreeBSD-src-bf8b583320ded917c381fddea802978da3283373.tar.gz |
Setting PG_REFERENCED on a page at the end of vm_fault() is redundant since
the page table entry's accessed bit is either preset by the immediately
preceding call to pmap_enter() or by hardware (or software) upon return
from vm_fault() when the faulting access is restarted.
-rw-r--r-- | sys/vm/vm_fault.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c index f409856..058cbb0 100644 --- a/sys/vm/vm_fault.c +++ b/sys/vm/vm_fault.c @@ -924,7 +924,6 @@ vnode_locked: vm_fault_prefault(fs.map->pmap, vaddr, fs.entry); VM_OBJECT_LOCK(fs.object); vm_page_lock_queues(); - vm_page_flag_set(fs.m, PG_REFERENCED); /* * If the page is not wired down, then put it where the pageout daemon |