Ioannis Koutras
|
ee4b032338
mark_used() and mark_free() now properly mark the previous_size record of the next block if there is one.
|
13 yıl önce |
Ioannis Koutras
|
89ce612d97
It is safe to use bool datatypes in Leon3 platform.
|
13 yıl önce |
Ioannis Koutras
|
6312088e35
Prevent overflow of new_size, check if new_size is also equal to min_split_size, mark block as used regardless of splitting's activation.
|
13 yıl önce |
Ioannis Koutras
|
16ad57625b
Block is always marked used as used, no need to mark it inside a split try.
|
13 yıl önce |
Ioannis Koutras
|
beb0dcc26d
Disabled used blocks head and roving pointer for the time being.
|
13 yıl önce |
Ioannis Koutras
|
84e4947ba2
No need to check ptr for NULL before searching the free list if the fixed lists are disabled.
|
13 yıl önce |
Ioannis Koutras
|
8929219116
Fixed major bug in push_block.
|
13 yıl önce |
Ioannis Koutras
|
d4a491cd35
Got rid of requested_size in case we don't need it.
|
13 yıl önce |
Ioannis Koutras
|
a85e415824
Set size now takes place along with marking blocks as used/free.
|
13 yıl önce |
Ioannis Koutras
|
e619ebe5ab
Initial support for Leon3 platform.
|
13 yıl önce |
Ioannis Koutras
|
baa748229c
Added option to enable / disable stats.
|
13 yıl önce |
Ioannis Koutras
|
a60756d022
Created options for enabling fixed lists and adaptive functions.
|
13 yıl önce |
Ioannis Koutras
|
2e7d3c4dea
Disabled temporarily knobs and dmm_adaptor.
|
13 yıl önce |
Ioannis Koutras
|
b88cc334a6
Keep better track of mem_allocated and mem_requested.
|
14 yıl önce |
Ioannis Koutras
|
6e53d0f490
Refactored the code to push block on a list's head.
|
14 yıl önce |
Ioannis Koutras
|
e75ad753c9
head_id is not needed on memory space-aware allocators.
|
14 yıl önce |
Ioannis Koutras
|
969a004a64
Initial support for doubly linked lists, unified linked lists source files.
|
14 yıl önce |
Ioannis Koutras
|
5fc32c7e67
All the source files are now released under the Apache 2.0 license.
|
14 yıl önce |
Ioannis Koutras
|
3c1f4804f1
Added exact-, first- and best-Fit search algorithms for singly linked freelist.
|
14 yıl önce |
Ioannis Koutras
|
3636ba9139
Created function to search fixed lists.
|
14 yıl önce |
Ioannis Koutras
|
7861af6e17
Proper support of splitting for both fixed and variable min splitting block size.
|
14 yıl önce |
Ioannis Koutras
|
7744f89706
The knobs are now guarded with WITH_KNOBS.
|
14 yıl önce |
Ioannis Koutras
|
d4630ed6bf
stdbool.h is not required in custom_malloc().
|
14 yıl önce |
Ioannis Koutras
|
57a68f4982
Initial code for split.
|
14 yıl önce |
Ioannis Koutras
|
186a55c23d
Small fixes to remove warnings. initialize_allocator() could now use sbrk locks.
|
14 yıl önce |
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.
|
14 yıl önce |
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.
|
14 yıl önce |
Ioannis Koutras
|
852832353c
Proper guarding on memory space aware allocators.
|
14 yıl önce |
Ioannis Koutras
|
1ce79ef85c
Do not initialize inside custom_malloc() when we have memory space aware allocator.
|
14 yıl önce |
Ioannis Koutras
|
d52ea914eb
Memory space awareness for sys_alloc().
|
14 yıl önce |