diff --git a/src/backend/backend.h b/src/backend/backend.h index cab9944..f0311ae 100644 --- a/src/backend/backend.h +++ b/src/backend/backend.h @@ -11,7 +11,10 @@ namespace snmalloc * This class implements the standard backend for handling allocations. * It abstracts page table management and address space management. */ - template + template< + SNMALLOC_CONCEPT(ConceptPAL) PAL, + bool fixed_range, + typename PageMapEntry = MetaEntry> class BackendAllocator { // Size of local address space requests. Currently aimed at 2MiB large @@ -64,9 +67,10 @@ namespace snmalloc { friend BackendAllocator; + protected: AddressSpaceManager address_space; - FlatPagemap pagemap; + FlatPagemap pagemap; public: template