Make one call to prof_active_get_unlocked() per allocation event.
Make one call to prof_active_get_unlocked() per allocation event, and use the result throughout the relevant functions that handle an allocation event. Also add a missing check in prof_realloc(). These fixes protect allocation events against concurrent prof_active changes.
This commit is contained in:
@@ -29,6 +29,10 @@ brevity. Much more detail can be found in the git revision history:
|
||||
- Fix xallocx() bugs related to the 'extra' parameter when specified as
|
||||
non-zero.
|
||||
- Fix irealloc_prof() to prof_alloc_rollback() on OOM.
|
||||
- Make one call to prof_active_get_unlocked() per allocation event, and use
|
||||
the result throughout the relevant functions that handle an allocation
|
||||
event. Also add a missing check in prof_realloc(). These fixes protect
|
||||
allocation events against concurrent prof_active changes.
|
||||
|
||||
* 4.0.0 (August 17, 2015)
|
||||
|
||||
|
Reference in New Issue
Block a user