summaryrefslogtreecommitdiff
path: root/src/ecache.c
Commit message (Collapse)AuthorAgeFilesLines
* San: Rename 'guard' to 'san'Alex Lapenkou2021-12-151-1/+1
| | | | | This prepares the foundation for more sanitizer-related work in the future.
* Implement guard pages.Qi Wang2021-09-261-0/+4
| | | | | | | Adding guarded extents, which are regular extents surrounded by guard pages (mprotected). To reduce syscalls, small guarded extents are cached as a separate eset in ecache, and decay through the dirty / muzzy / retained pipeline as usual.
* Rename ecache_grow -> geom_grow.David Goldblatt2020-08-191-26/+0
| | | | | We're about to start using it outside of the ecaches, in the HPA central allocator.
* Ecache: Should know its arena_ind.David Goldblatt2019-12-201-1/+2
| | | | | | | | | What we call an arena_ind is really the index associated with some particular set of ehooks; the arena is just the user-visible portion of that. Making this explicit, and reframing checks in terms of that, makes the code simpler and cleaner, and helps us avoid passing the arena itself all throughout extent code. This lets us put back an arena-specific assert.
* Put extent_state_t into ecache as well as eset.David Goldblatt2019-12-201-0/+1
|
* Move delay_coalesce from the eset to the ecache.David Goldblatt2019-12-201-1/+2
|
* Extent refactor: Introduce ecache module.David Goldblatt2019-12-201-0/+54
This will eventually completely wrap the eset, and handle concurrency, allocation, and deallocation. For now, we only pull out the mutex from the eset.