mirror of
https://github.com/google/pebble.git
synced 2025-11-19 22:11:02 -05:00
spelling: fragmentation
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -449,7 +449,7 @@ static HeapInfo_t *find_segment(Heap* const heap, unsigned long n_units) {
|
|||||||
/* If the requested size is larger than the limit then*/
|
/* If the requested size is larger than the limit then*/
|
||||||
/* search backwards for an available buffer, else go */
|
/* search backwards for an available buffer, else go */
|
||||||
/* forward. This will hopefully help to reduce */
|
/* forward. This will hopefully help to reduce */
|
||||||
/* fragmentataion problems. */
|
/* fragmentation problems. */
|
||||||
if (n_units >= LARGE_SIZE) {
|
if (n_units >= LARGE_SIZE) {
|
||||||
heap_info_ptr = get_previous_block(heap, heap_info_ptr);
|
heap_info_ptr = get_previous_block(heap, heap_info_ptr);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user