Philipp Oppermann
|
63be7cda6b
|
Use constant instead of removed const_in_array_repeat_expressions feature
|
2021-02-02 11:32:30 +01:00 |
|
Philipp Oppermann
|
e6c4c63c00
|
Update post-11 code for #813
|
2020-06-05 15:52:01 +02:00 |
|
Philipp Oppermann
|
3a6d3153a4
|
Don't panic on overflow in allocator; return null pointer instead (#738)
|
2020-02-04 09:47:39 +01:00 |
|
Philipp Oppermann
|
00fedc801e
|
Use LinkedListAllocator::lock instead of self.inner.lock()
|
2020-01-30 13:03:34 +01:00 |
|
Philipp Oppermann
|
3ad5f117c2
|
Use checked addition for allocator implementations (#726)
|
2020-01-27 13:25:08 +01:00 |
|
Philipp Oppermann
|
6c3bf0b10f
|
Implement GlobalAlloc::dealloc
|
2020-01-20 14:07:47 +01:00 |
|
Philipp Oppermann
|
7a792f5cb0
|
Implement GlobalAlloc::alloc
|
2020-01-20 14:07:02 +01:00 |
|
Philipp Oppermann
|
93b4dcf434
|
Add skeleton for GlobalAlloc implementation
|
2020-01-20 14:06:26 +01:00 |
|
Philipp Oppermann
|
821dd2adb4
|
Add function to calculate the list index
|
2020-01-20 14:05:24 +01:00 |
|
Philipp Oppermann
|
d636939b51
|
Add FixedSizeBlockAllocator::fallback_alloc method
|
2020-01-20 14:05:01 +01:00 |
|
Philipp Oppermann
|
9b7326541e
|
Add FixedSizeBlockAllocator type
|
2020-01-20 14:04:13 +01:00 |
|
Philipp Oppermann
|
4f234b67ef
|
Add ListNode type and BLOCK_SIZES constant
|
2020-01-20 14:02:57 +01:00 |
|
Philipp Oppermann
|
7381e11f3c
|
Create a new fixed_size_block allocator submodule
|
2020-01-20 14:01:59 +01:00 |
|
Philipp Oppermann
|
2001814119
|
Implement LinkedListAllocator::size_align
|
2020-01-10 13:00:16 +01:00 |
|
Philipp Oppermann
|
a5c50e7408
|
Implement GlobalAlloc for LinkedListAllocator
|
2020-01-10 11:52:04 +01:00 |
|
Philipp Oppermann
|
70a52c291d
|
Implement alloc_from_region
|
2020-01-10 11:48:56 +01:00 |
|
Philipp Oppermann
|
c56bfa27e4
|
Implement find_region
|
2020-01-10 11:46:10 +01:00 |
|
Philipp Oppermann
|
55aec9ebf3
|
Apply rustfmt to ListNode::new function
|
2020-01-10 11:44:38 +01:00 |
|
Philipp Oppermann
|
2e1d132a9a
|
Implement add_free_region
|
2020-01-10 11:44:17 +01:00 |
|
Philipp Oppermann
|
63e8577d77
|
Create a basic LinkedListAllocator type
|
2020-01-10 11:42:04 +01:00 |
|
Philipp Oppermann
|
e87044a7ee
|
Implement GlobalAlloc for BumpAllocator
|
2020-01-09 15:35:03 +01:00 |
|
Philipp Oppermann
|
7c84dbaa1d
|
Create a basic BumpAllocator type
|
2020-01-09 15:25:37 +01:00 |
|