Ioannis Koutras
|
2d5445c95e
Proper ifdef guards for raw block creation mutexes
|
13 years ago |
Ioannis Koutras
|
52e3c05928
Fixed coalescing after splitting
|
13 years ago |
Ioannis Koutras
|
3885778a39
Simplified some checks while coalescing
|
13 years ago |
Ioannis Koutras
|
01bf7322c4
While coalescing, add new block to the free list if current + next is fine
|
13 years ago |
Ioannis Koutras
|
65d0eff643
Fixed pointer of newly created memory block inside a freelist-organised raw block
|
13 years ago |
Ioannis Koutras
|
04f75ced96
Separated debug functions for freelist-organised raw blocks
|
13 years ago |
Ioannis Koutras
|
914bb41679
Verified pointer's data type
|
13 years ago |
Ioannis Koutras
|
975d437a65
Fix the support of freelist-organised raw blocks (WIP)
|
13 years ago |
Ioannis Koutras
|
3f9a0ea830
No need to include pthread.h inside bitmap_malloc()
|
13 years ago |
Ioannis Koutras
|
7e9e378c02
Added description for get_raw_blocks()
|
13 years ago |
Ioannis Koutras
|
ec64dc621b
Merged changes
|
13 years ago |
Ioannis Koutras
|
35ab22255f
Fixed warnings on realloc()
|
13 years ago |
Ioannis Koutras
|
c36f33aa81
Fix warnings due to smaller datatypes
|
13 years ago |
Ioannis Koutras
|
b149280060
Proper check of the raw block owner of an allocation
|
13 years ago |
Ioannis Koutras
|
e24063eb29
Split dmmlib.c to four files
|
13 years ago |
Ioannis Koutras
|
7396f063eb
Perform system allocator's mutex unlock anyways
|
13 years ago |
Ioannis Koutras
|
95d3dae28a
Reorganized the choosing of bitmap raw blocks (WIP)
|
13 years ago |
Ioannis Koutras
|
114d9afcf5
Improved calloc()
|
13 years ago |
Ioannis Koutras
|
03880823bd
Cleared a bit the section of cell marking in bitmap_malloc()
|
13 years ago |
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 years ago |
Ioannis Koutras
|
feb48c6691
Fix prev_pow2()
|
13 years ago |
Ioannis Koutras
|
cd1d5a42a1
Refactoring and comments for prev_pow2()
|
13 years ago |
Ioannis Koutras
|
c1f634be8e
Removed debug function call inside malloc()
|
13 years ago |
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 years ago |
Ioannis Koutras
|
099d5f7025
Simple merge
|
13 years ago |
Ioannis Koutras
|
789f41c86a
Moved the whole bitmap vector outside the header
|
13 years ago |
Ioannis Koutras
|
3e768d16b1
release_memory() now accepts raw_block_header_t pointers directly
|
13 years ago |
Ioannis Koutras
|
89633dd5b6
bitmap_malloc() currently should not serve requests which occupy more than 2 bitmap vector elements
|
13 years ago |
Ioannis Koutras
|
8f52f00922
Critical fixes on bitmap_malloc() and bitmap_free()
|
13 years ago |
Ioannis Koutras
|
16499deb6f
realloc() for freelist-organized raw blocks
|
13 years ago |