Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115694871
D46609.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
652 B
Referenced Files
None
Subscribers
None
D46609.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
@@ -2352,10 +2352,6 @@
if (!vm_domain_alloc_fail(VM_DOMAIN(domain), object, req))
return (NULL);
}
- for (m = m_ret; m < &m_ret[npages]; m++) {
- vm_page_dequeue(m);
- vm_page_alloc_check(m);
- }
/*
* Initialize the pages. Only the PG_ZERO flag is inherited.
@@ -2376,6 +2372,8 @@
memattr == VM_MEMATTR_DEFAULT)
memattr = object->memattr;
for (m = m_ret; m < &m_ret[npages]; m++) {
+ vm_page_dequeue(m);
+ vm_page_alloc_check(m);
m->a.flags = 0;
m->flags = (m->flags | PG_NODUMP) & flags;
m->busy_lock = busy_lock;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 28, 6:43 AM (6 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17826563
Default Alt Text
D46609.diff (652 B)
Attached To
Mode
D46609: vm_page: fuse two allocation loops
Attached
Detach File
Event Timeline
Log In to Comment