Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F136926579
D34909.id104993.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
655 B
Referenced Files
None
Subscribers
None
D34909.id104993.diff
View Options
Index: sys/vm/vm_page.c
===================================================================
--- sys/vm/vm_page.c
+++ 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
Fri, Nov 21, 5:02 PM (1 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25742572
Default Alt Text
D34909.id104993.diff (655 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