Extent refactor: Introduce ecache module.
This will eventually completely wrap the eset, and handle concurrency, allocation, and deallocation. For now, we only pull out the mutex from the eset.
This commit is contained in:
committed by
David Goldblatt
parent
0704516245
commit
bb70df8e5b
@@ -142,7 +142,7 @@ TEST_BEGIN(test_retained) {
|
||||
size_t usable = 0;
|
||||
size_t fragmented = 0;
|
||||
for (pszind_t pind = sz_psz2ind(HUGEPAGE); pind <
|
||||
arena->extent_grow_next; pind++) {
|
||||
arena->ecache_grow.next; pind++) {
|
||||
size_t psz = sz_pind2sz(pind);
|
||||
size_t psz_fragmented = psz % esz;
|
||||
size_t psz_usable = psz - psz_fragmented;
|
||||
|
Reference in New Issue
Block a user