Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144466998
D48639.id149795.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
484 B
Referenced Files
None
Subscribers
None
D48639.id149795.diff
View Options
diff --git a/sys/vm/vm_phys.c b/sys/vm/vm_phys.c
--- a/sys/vm/vm_phys.c
+++ b/sys/vm/vm_phys.c
@@ -2396,11 +2396,11 @@
vm_paddr_t
vm_phys_early_alloc(size_t alloc_size, int domain)
{
- vm_paddr_t res;
+ vm_paddr_t pa;
- /* This call will panic() on error. */
- vm_phys_early_alloc_ex(alloc_size, PAGE_SIZE, -1, domain, 0, &res);
- return (res);
+ vm_phys_early_alloc_ex(alloc_size, PAGE_SIZE, -1, domain,
+ VM_PHYS_EAF_ADDR_BOUNDARIES_FIRST, &pa);
+ return (pa);
}
void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 2:29 PM (15 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28589285
Default Alt Text
D48639.id149795.diff (484 B)
Attached To
Mode
D48639: vm_phys_early_alloc(): Prefer allocation at boundaries by default
Attached
Detach File
Event Timeline
Log In to Comment