Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115625073
D42831.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
507 B
Referenced Files
None
Subscribers
None
D42831.diff
View Options
diff --git a/sys/vm/vm_kern.c b/sys/vm/vm_kern.c
--- a/sys/vm/vm_kern.c
+++ b/sys/vm/vm_kern.c
@@ -147,7 +147,8 @@
TSENTER();
size = round_page(size);
- if (vmem_alloc(kernel_arena, size, M_BESTFIT | M_NOWAIT, &addr))
+ if (vmem_xalloc(kernel_arena, size, 0, 0, 0, VMEM_ADDR_MIN,
+ VMEM_ADDR_MAX, M_BESTFIT | M_NOWAIT, &addr))
return (0);
TSEXIT();
@@ -168,7 +169,7 @@
{
size = round_page(size);
- vmem_free(kernel_arena, addr, size);
+ vmem_xfree(kernel_arena, addr, size);
}
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 27, 4:37 AM (9 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17813371
Default Alt Text
D42831.diff (507 B)
Attached To
Mode
D42831: vm: Use vmem_xalloc in kva_alloc
Attached
Detach File
Event Timeline
Log In to Comment