Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109413056
D34911.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
D34911.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
Wed, Feb 5, 6:08 PM (21 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16478535
Default Alt Text
D34911.diff (655 B)
Attached To
Mode
D34911: vm: Move the "vm_wait in early
Attached
Detach File
Event Timeline
Log In to Comment