Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108555546
D34909.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
617 B
Referenced Files
None
Subscribers
None
D34909.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D34909: vm: Move the "vm_wait in early boot" assertion to the proper place
Attached
Detach File
Event Timeline
Log In to Comment