You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix block allocation size consistency for segregated lists
This commit ensures allocated blocks use the size corresponding to their
FL/SL bin rather than the original requested size. This allows blocks to
be consistently freed and re-allocated to the same memory location.
The fix adds mapping_size() to calculate the minimum block size for a
given FL/SL bin (inverse of mapping()) and updates block_find_free() to
adjust the size parameter accordingly.
Close#4
0 commit comments