svn commit: r217453 - head/sys/vm
Alan Cox
alc at FreeBSD.org
Sat Jan 15 19:21:29 UTC 2011
Author: alc
Date: Sat Jan 15 19:21:28 2011
New Revision: 217453
URL: http://svn.freebsd.org/changeset/base/217453
Log:
For some time now, the kernel and kmem objects have been ordinary
OBJT_PHYS objects. Thus, there is no need for handling them specially
in vm_fault(). In fact, this special case handling would have led to
an assertion failure just before the call to pmap_enter().
Reviewed by: kib@
MFC after: 6 weeks
Modified:
head/sys/vm/vm_fault.c
Modified: head/sys/vm/vm_fault.c
==============================================================================
--- head/sys/vm/vm_fault.c Sat Jan 15 19:16:56 2011 (r217452)
+++ head/sys/vm/vm_fault.c Sat Jan 15 19:21:28 2011 (r217453)
@@ -383,11 +383,8 @@ RetryFault:;
* found the page ).
*/
vm_page_busy(fs.m);
- if (fs.m->valid != VM_PAGE_BITS_ALL &&
- fs.m->object != kernel_object && fs.m->object != kmem_object) {
+ if (fs.m->valid != VM_PAGE_BITS_ALL)
goto readrest;
- }
-
break;
}
More information about the svn-src-all
mailing list