This repository was archived by the owner on Oct 9, 2024. It is now read-only.
Commit 8bc00cd
committed
mem/pool: improve the scalable memory allocator.
- thread ID is no longer needed.
- Add an embedded option "USE_PAGE".
With USE_PAGE, allocation becomes page-level.
Without USE_PAGE, allocation becomes object-level.1 parent c483f7f commit 8bc00cd
File tree
6 files changed
+617
-184
lines changed- src
- include
- mem
- queue
- mem
- queue
- test
- perf/queue
- regres/mem
6 files changed
+617
-184
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
0 commit comments