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
This commit is contained in:
parent
b919d343a9
commit
ff5958e785
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user