Ioannis Koutras
|
7396f063eb
Perform system allocator's mutex unlock anyways
|
пре 13 година |
Ioannis Koutras
|
95d3dae28a
Reorganized the choosing of bitmap raw blocks (WIP)
|
пре 13 година |
Ioannis Koutras
|
114d9afcf5
Improved calloc()
|
пре 13 година |
Ioannis Koutras
|
03880823bd
Cleared a bit the section of cell marking in bitmap_malloc()
|
пре 13 година |
Ioannis Koutras
|
0cd8cb2962
Support memory requests in bitmap-organised raw blocks which require more than 2 times the bits of a bitmap vector element
|
пре 13 година |
Ioannis Koutras
|
feb48c6691
Fix prev_pow2()
|
пре 13 година |
Ioannis Koutras
|
cd1d5a42a1
Refactoring and comments for prev_pow2()
|
пре 13 година |
Ioannis Koutras
|
c1f634be8e
Removed debug function call inside malloc()
|
пре 13 година |
Ioannis Koutras
|
f7c02a92a8
Statistics and proper return address when memory requests are not properly served in bitmap-organised blocks and need direct mmap() calls
|
пре 13 година |
Ioannis Koutras
|
099d5f7025
Simple merge
|
пре 13 година |
Ioannis Koutras
|
789f41c86a
Moved the whole bitmap vector outside the header
|
пре 13 година |
Ioannis Koutras
|
3e768d16b1
release_memory() now accepts raw_block_header_t pointers directly
|
пре 13 година |
Ioannis Koutras
|
89633dd5b6
bitmap_malloc() currently should not serve requests which occupy more than 2 bitmap vector elements
|
пре 13 година |
Ioannis Koutras
|
8f52f00922
Critical fixes on bitmap_malloc() and bitmap_free()
|
пре 13 година |
Ioannis Koutras
|
16499deb6f
realloc() for freelist-organized raw blocks
|
пре 13 година |
Ioannis Koutras
|
f5eac644f8
Small fixes to make freelist-organised raw blocks work
|
пре 13 година |
Ioannis Koutras
|
e00aeb0dd4
Fixed the total requested memory size after a big block free
|
пре 13 година |
Ioannis Koutras
|
626a95984c
malloc() returns now NULL if size == 0
|
пре 13 година |
Ioannis Koutras
|
4629fa9fb5
Release big block memory after the stats update
|
пре 13 година |
Ioannis Koutras
|
625d95c720
Fixed allocation size for big block malloc()
|
пре 13 година |
Ioannis Koutras
|
ba1ddb48e2
Print free information for a big block before actually releasing its memory
|
пре 13 година |
Ioannis Koutras
|
29a2c96347
Big blocks should not include the size of extra headers
|
пре 13 година |
Ioannis Koutras
|
f06cb998f5
Status message for debug support
|
пре 13 година |
Ioannis Koutras
|
f1e1240677
Formalized and integrated the debug functions for a quick check
|
пре 13 година |
Ioannis Koutras
|
2551b00d3e
Removed dead code
|
пре 13 година |
Ioannis Koutras
|
f73e004b24
Support for raw block and global statistics
|
пре 13 година |
Ioannis Koutras
|
dc6c6ddf83
Trace functions for BIGBLOCK raw blocks
|
пре 13 година |
Ioannis Koutras
|
ae99acf554
Use TRACE_1 to expose total memory requested and allocated.
|
пре 13 година |
Ioannis Koutras
|
af04640fb3
Initial realloc support for memory blocks on bitmap-organised raw blocks
|
пре 13 година |
Ioannis Koutras
|
a5e2ad7759
Fixed total requested memory statistic on bitmap-organised raw blocks
|
пре 13 година |