(memory): updating kcoalesce only merges contiguous memory locations.
This commit is contained in:
parent
3c7b927abf
commit
820163395e
2 changed files with 23 additions and 10 deletions
|
|
@ -14,7 +14,8 @@ typedef struct HeapHeader
|
|||
int is_free;
|
||||
struct HeapHeader *next;
|
||||
struct HeapHeader *prev;
|
||||
} HeapHeader;
|
||||
uint64_t _padding;
|
||||
} __attribute__((aligned(16))) HeapHeader;
|
||||
|
||||
void zero_bss();
|
||||
int is_aligned_to(size_t value, size_t size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue