ticki
|
7f66ee45a0
Add instructions for usage
|
9 vuotta sitten |
ticki
|
4b65baa341
Ralloc is now ready for production use: Fix all currently known issues, rewrite large parts of the allocator, move unsafes to seperate abstractions (e.g., remove pointer arithemtics), add direct method, add vector primitive, update README, add TODO, add pointer primitive, more debug_assertions, more tests
|
9 vuotta sitten |
ticki
|
7e2039cf02
Fix memory leaks, fix OOB bug when freeing the first block, rename BlockList to BlockVec, add memory leak assertions, allow inplace reallocations in segment end, add segment bound checks, improve initial allocation, and more stuff I forget.
|
9 vuotta sitten |
Jeremy Soller
|
0ac228d16d
Fix cfg flags for Redox
|
9 vuotta sitten |
ticki
|
8266f890d3
Enable inplace reallocation (buffer extension) again
|
9 vuotta sitten |
ticki
|
413aaeb77b
Merge branch 'master' of github.com:redox-os/ralloc
|
9 vuotta sitten |
ticki
|
377ac02d18
Fix numerous bugs, temporarily disable inplace reallocation, add debug dumps
|
9 vuotta sitten |
ticki
|
c541cec1d6
Better debug assertions and consistency checks
|
9 vuotta sitten |
ticki
|
6799cb9b37
Fix segfault, due to not initializing the pointer when reserving extra capacity
|
9 vuotta sitten |
ticki
|
819ed484c3
Avoid certain recursive allocations
|
9 vuotta sitten |
ticki
|
a48df74251
Fix bug in `reserve`
|
9 vuotta sitten |
ticki
|
8c7ccdc0af
Represent occupied block entries through empty blocks
|
9 vuotta sitten |
ticki
|
bfa132473f
Fix bug making allocation occupied blocks possible, update documentation, fix certain arithmetic overflows, add mathematical reasoning on integer bounds
|
9 vuotta sitten |
ticki
|
795aa19906
Fix Block tests
|
9 vuotta sitten |
ticki
|
537920f98d
Alignment assertions
|
9 vuotta sitten |
ticki
|
15b186fad9
sys_yield for mutex locking
|
9 vuotta sitten |
ticki
|
4ef79fdcf3
Remove libextra dependency
|
9 vuotta sitten |
ticki
|
a022e08f1f
Allocator is ready, provide linking symbols, complete bookkeeping, proper merges, safe multithreading, OOM handling (+ custom handlers), system primitives, add extensive testing.
|
9 vuotta sitten |
ticki
|
c4f7593838
Fix PartialEq
|
9 vuotta sitten |
ticki
|
8aef24b0fb
Update the docs to reflect the actual internals
|
9 vuotta sitten |
ticki
|
a17c934ae8
Add Bookkeeper::new()
|
9 vuotta sitten |
ticki
|
a9e0dc7bf0
Wrap the block list in a Bookkeeper struct
|
9 vuotta sitten |
ticki
|
3838443f52
Fix the docs
|
9 vuotta sitten |
ticki
|
7fc3ec724e
Add detailed documentation for everything
|
9 vuotta sitten |
ticki
|
adf3812a72
Consistency checks in debug mode
|
9 vuotta sitten |
ticki
|
a651595317
RL search
|
9 vuotta sitten |
ticki
|
6c5a0b163d
Add readme
|
9 vuotta sitten |
ticki
|
ae9fdde219
Add license (MIT)
|
9 vuotta sitten |
ticki
|
c28a6f006b
Initial commit: add design document, memory book keeper, allocation, deallocation, reallocation (inplace and copy), block list, insertion, system primitives
|
9 vuotta sitten |