Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144397559
D35781.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
402 B
Referenced Files
None
Subscribers
None
D35781.diff
View Options
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c
--- a/sys/vm/vm_map.c
+++ b/sys/vm/vm_map.c
@@ -5062,7 +5062,7 @@
if (vm_map_lock_upgrade(map))
goto RetryLookup;
entry->object.vm_object = vm_object_allocate_anon(atop(size),
- NULL, entry->cred, entry->cred != NULL ? size : 0);
+ NULL, entry->cred, size);
entry->offset = 0;
entry->cred = NULL;
vm_map_lock_downgrade(map);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 5:41 AM (17 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28544443
Default Alt Text
D35781.diff (402 B)
Attached To
Mode
D35781: vm_map: Simplify a call to vm_object_allocate_anon()
Attached
Detach File
Event Timeline
Log In to Comment