diff options
author | Alan Cox <alc@FreeBSD.org> | 2011-01-15 19:21:28 +0000 |
---|---|---|
committer | Alan Cox <alc@FreeBSD.org> | 2011-01-15 19:21:28 +0000 |
commit | ff5958e78564697e4af573a6fe16d80c5f861edc (patch) | |
tree | 860fbb15bca69b25f37dd968f865b0d63d2ca33a /sys/vm/vm_fault.c | |
parent | b919d343a9994268294f976e26bef4249fb423ec (diff) | |
download | src-ff5958e78564697e4af573a6fe16d80c5f861edc.tar.gz src-ff5958e78564697e4af573a6fe16d80c5f861edc.zip |
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
Notes
Notes:
svn path=/head/; revision=217453
Diffstat (limited to 'sys/vm/vm_fault.c')
-rw-r--r-- | sys/vm/vm_fault.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/vm/vm_fault.c b/sys/vm/vm_fault.c index fefc2e763ef3..43da60209846 100644 --- a/sys/vm/vm_fault.c +++ b/sys/vm/vm_fault.c @@ -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; } |