Page MenuHomeFreeBSD

D34909.diff
No OneTemporary

D34909.diff

diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -3265,6 +3265,8 @@
*/
mtx_lock(&vm_domainset_lock);
if (vm_page_count_min_set(wdoms)) {
+ if (pageproc == NULL)
+ panic("vm_wait in early boot");
vm_min_waiters++;
error = msleep(&vm_min_domains, &vm_domainset_lock,
PVM | PDROP | mflags, "vmwait", 0);
@@ -3298,8 +3300,6 @@
} else
mtx_unlock(&vm_domainset_lock);
} else {
- if (pageproc == NULL)
- panic("vm_wait in early boot");
DOMAINSET_ZERO(&wdom);
DOMAINSET_SET(vmd->vmd_domain, &wdom);
vm_wait_doms(&wdom, 0);

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 27, 7:36 AM (2 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16189504
Default Alt Text
D34909.diff (617 B)

Event Timeline