Ioannis Koutras
|
969a004a64
Initial support for doubly linked lists, unified linked lists source files.
|
13 jaren geleden |
Ioannis Koutras
|
5fc32c7e67
All the source files are now released under the Apache 2.0 license.
|
13 jaren geleden |
Ioannis Koutras
|
d0d45c7784
dmm_init.h is no longer needed.
|
13 jaren geleden |
Ioannis Koutras
|
3c231f9a82
The new block after a split should be the one to be set free and properly set of a heap owner.
|
13 jaren geleden |
Ioannis Koutras
|
b671dfb720
Added heap ownership information in memory blocks, coalescing currently uses it.
|
13 jaren geleden |
Ioannis Koutras
|
3c1f4804f1
Added exact-, first- and best-Fit search algorithms for singly linked freelist.
|
13 jaren geleden |
Ioannis Koutras
|
3636ba9139
Created function to search fixed lists.
|
13 jaren geleden |
Ioannis Koutras
|
7861af6e17
Proper support of splitting for both fixed and variable min splitting block size.
|
13 jaren geleden |
Ioannis Koutras
|
31bdfa0120
Proper support of coalescing for both fixed and variable max coalesced block size.
|
13 jaren geleden |
Ioannis Koutras
|
7744f89706
The knobs are now guarded with WITH_KNOBS.
|
13 jaren geleden |
Ioannis Koutras
|
b8e710050b
get_previous_size_availability() should have only one parameter in comments.
|
13 jaren geleden |
Ioannis Koutras
|
d4630ed6bf
stdbool.h is not required in custom_malloc().
|
13 jaren geleden |
Ioannis Koutras
|
57a68f4982
Initial code for split.
|
13 jaren geleden |
Ioannis Koutras
|
186a55c23d
Small fixes to remove warnings. initialize_allocator() could now use sbrk locks.
|
13 jaren geleden |
Ioannis Koutras
|
163ec350c2
Changed values on test.c to check coalescing.
|
13 jaren geleden |
Ioannis Koutras
|
1430f129bc
Proper coalescing support.
|
13 jaren geleden |
Ioannis Koutras
|
4d2caf32fd
Added block functions which are required for navigation on data layout level.
|
13 jaren geleden |
Ioannis Koutras
|
56035243cf
systemallocator should NOT be static
|
13 jaren geleden |
Ioannis Koutras
|
f969d74572
Build the examples with debug symbols.
|
13 jaren geleden |
Ioannis Koutras
|
4a953c90c2
Enable full warnings and C99
|
13 jaren geleden |
Ioannis Koutras
|
17467ce800
coalesce.c should be compiled only when WITH_COALESCING is ON.
|
13 jaren geleden |
Ioannis Koutras
|
873e85f9f1
sys_alloc() has to set headers in case it is called by initialize_allocator(). Modified also custom_malloc() to conform with this.
|
13 jaren geleden |
Ioannis Koutras
|
c89bd95c5a
Get the WITH_COALESCING option from cmake.
|
13 jaren geleden |
Ioannis Koutras
|
1cf9593141
Set coalescing ON for Linux Tests target.
|
13 jaren geleden |
Ioannis Koutras
|
1848841db0
Few functional changes on border_ptr, now it points to the memory block which was allocated last.
|
13 jaren geleden |
Ioannis Koutras
|
eda81eee4e
Added functions to find previous memory blocks in terms of data layout. Initial maptable nodes require now a memory block. Simplified initialize_allocator.
|
13 jaren geleden |
Ioannis Koutras
|
07993f77d6
initialized bool variable is not required on memory space aware allocators, since they are initialized manually.
|
13 jaren geleden |
Ioannis Koutras
|
8d72e4a4ef
Properly include coalesce.h in custom_free when needed.
|
13 jaren geleden |
Ioannis Koutras
|
5e50bf361d
heap.h fully commented.
|
13 jaren geleden |
Ioannis Koutras
|
d085c6f2b5
Enabled quiet Doxygen compilation.
|
13 jaren geleden |