aboutsummaryrefslogtreecommitdiff
path: root/core/mem/virtual
Commit message (Expand)AuthorAgeFilesLines
* Replaced opaque bit-shifts with readable constants for memory unitshikari2022-12-241-2/+2
* Merge branch 'master' into allocator-mode-alloc-non-zeroedgingerBill2022-11-036-406/+349
|\
| * Add `Arena_Kind.Buffer` to `core:mem/virtual`gingerBill2022-10-262-10/+45
| * Remove doubly linked list of `Platform_Memory_Block` fieldsgingerBill2022-10-192-37/+0
| * Wrap `intrinsics.overflow_add` to `safe_add`gingerBill2022-10-153-48/+10
| * Add `overflow_add` checks to `alloc_from_memory_block`gingerBill2022-10-131-3/+7
| * Add overflow check when using a growing arenagingerBill2022-10-131-1/+2
| * Add @(require_results) to many proceduresgingerBill2022-10-131-0/+9
| * Inline `assert` conditiongingerBill2022-10-121-1/+1
| * Rename constants; minor rearrange of `Arena` layoutgingerBill2022-10-121-18/+17
| * Clean up `minimum_block_size` default implicit initializationgingerBill2022-10-121-3/+7
| * Sanity corrections to virtual callsgingerBill2022-10-123-32/+28
| * Inline resize logic for `virtual.Arena`gingerBill2022-10-121-9/+36
| * Update `total_used` for `arena_static_reset_to`gingerBill2022-10-121-0/+2
| * Inline align forward offset codegingerBill2022-10-121-12/+7
| * Unify `Static_Arena` and `Growing_Arena` into `Arena`gingerBill2022-10-124-362/+309
| * update `virtual.growing_arena_bootstrap_new`gingerBill2022-10-041-3/+2
* | Add `Allocator_Mode.Alloc_Non_Zerored`gingerBill2022-09-222-2/+2
|/
* Improve mem/virtual handling of out of memory on WindowsgingerBill2022-09-122-5/+7
* Fix more typosgingerBill2022-08-311-2/+2
* Fix typogingerBill2022-08-311-1/+1
* Fix #1973.Jeroen van Rijn2022-08-251-1/+1
* Minor text alignmentgingerBill2022-08-151-3/+3
* Make `Growing_Arena` reserve memory first and then commit as neededgingerBill2022-08-082-1/+13
* Added virtual memory headers for Darwin.Christoffer Lerno2022-07-291-0/+148
* fix mmap call in virtual_linux.odinjason2022-05-251-5/+4
* Fix #1740gingerBill2022-04-261-1/+1
* Replace `sync` with `sync2`gingerBill2022-03-301-1/+1
* Use `contextless` where possibledev-2022-03gingerBill2022-03-014-20/+20
* Correct `alloc_from_memory_block`gingerBill2022-03-012-15/+47
* core/sys/unix: Add syscalls_linux.odinYawning Angel2021-11-171-42/+34
* Remove nonsense from `static_arena_init`gingerBill2021-10-051-10/+1
* Add error value to `commit`gingerBill2021-10-054-10/+29
* Correct `mmap` usagegingerBill2021-10-051-5/+4
* Add arena_util.odingingerBill2021-10-052-0/+40
* Add `static_arena_bootstrap_new`gingerBill2021-10-051-1/+24
* Minor cleanupgingerBill2021-10-052-8/+13
* Add virtual.Static_ArenagingerBill2021-10-051-0/+134
* Clean up `Memory_Block` logicgingerBill2021-10-054-90/+135
* Rename to growing_arena.odingingerBill2021-10-041-0/+4
* Add `Protect_Flags` for `virtual.protect`gingerBill2021-10-043-9/+38
* Add virtual_linux.odingingerBill2021-10-041-0/+101
* Separate out the virtual memory allocation proceduresgingerBill2021-10-043-47/+95
* Minor clean upgingerBill2021-10-031-5/+2
* Remove mutex from `Growing_Arena`; Add `Growing_Arena_Temp`gingerBill2021-10-031-24/+73
* Add `@(init)` usage to `core:mem/virtual`gingerBill2021-10-031-4/+1
* Rename `virtual.Arena` to `virtual.Growing_Arena`gingerBill2021-09-291-11/+12
* Add a mutex to `arena_free_all`gingerBill2021-09-291-0/+6
* Add a mutex to virtual.ArenagingerBill2021-09-291-0/+13
* Add `core:mem/virtual`gingerBill2021-09-293-0/+289