Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F164571410
D27025.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
644 B
Referenced Files
None
Subscribers
None
D27025.diff
View Options
Index: head/contrib/jemalloc/src/extent.c
===================================================================
--- head/contrib/jemalloc/src/extent.c
+++ head/contrib/jemalloc/src/extent.c
@@ -1641,8 +1641,11 @@
}
/* Try to coalesce backward. */
- extent_t *prev = extent_lock_from_addr(tsdn, rtree_ctx,
- extent_before_get(extent), inactive_only);
+ extent_t *prev = NULL;
+ if (extent_before_get(extent) != NULL) {
+ prev = extent_lock_from_addr(tsdn, rtree_ctx,
+ extent_before_get(extent), inactive_only);
+ }
if (prev != NULL) {
bool can_coalesce = extent_can_coalesce(arena, extents,
extent, prev);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Aug 3, 3:51 AM (12 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35890099
Default Alt Text
D27025.diff (644 B)
Attached To
Mode
D27025: [RFC] Fix abort in malloc extent coalescing.
Attached
Detach File
Event Timeline
Log In to Comment