Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156557219
D35781.id108052.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.id108052.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
Fri, May 15, 3:57 PM (31 m, 2 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33088797
Default Alt Text
D35781.id108052.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