vm_fault.c (2828dafcf3e7b225b70cbb380eb8c7dae452493e) vm_fault.c (7667839a7ec4354de9984d411c45cbacf9fe8e3b)
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 * Copyright (c) 1994 John S. Dyson
5 * All rights reserved.
6 * Copyright (c) 1994 David Greenman
7 * All rights reserved.
8 *

--- 545 unchanged lines hidden (view full) ---

554 alloc_req |= VM_ALLOC_ZERO;
555 fs.m = vm_page_alloc(fs.object, fs.pindex,
556 alloc_req);
557 }
558 if (fs.m == NULL) {
559 unlock_and_deallocate(&fs);
560 VM_WAITPFAULT;
561 goto RetryFault;
1/*-
2 * Copyright (c) 1991, 1993
3 * The Regents of the University of California. All rights reserved.
4 * Copyright (c) 1994 John S. Dyson
5 * All rights reserved.
6 * Copyright (c) 1994 David Greenman
7 * All rights reserved.
8 *

--- 545 unchanged lines hidden (view full) ---

554 alloc_req |= VM_ALLOC_ZERO;
555 fs.m = vm_page_alloc(fs.object, fs.pindex,
556 alloc_req);
557 }
558 if (fs.m == NULL) {
559 unlock_and_deallocate(&fs);
560 VM_WAITPFAULT;
561 goto RetryFault;
562 } else if (fs.m->valid == VM_PAGE_BITS_ALL)
563 break;
562 }
564 }
565
566readrest:
567 /*
568 * At this point, we have either allocated a new page or found
569 * an existing page that is only partially valid.
570 *
571 * We hold a reference on the current object and the page is

--- 951 unchanged lines hidden ---
563 }
564
565readrest:
566 /*
567 * At this point, we have either allocated a new page or found
568 * an existing page that is only partially valid.
569 *
570 * We hold a reference on the current object and the page is

--- 951 unchanged lines hidden ---