Various fixes for OE (#418)
* Add default for getting chunk allocator state Makes the API same between the two configurations. * Reduce address space usage for Open Enclave * Fix OE Pal concept * Add support for Pal not to provide time. The lazy return of pages to the OS uses a simple time based heuristic. This enables a PAL to not support time, and return the memory to a central pool immediately. * Update src/backend/backend.h Co-authored-by: Amaury Chamayou <amaury@xargs.fr> Co-authored-by: Amaury Chamayou <amaury@xargs.fr>
This commit is contained in:
committed by
GitHub
parent
91919f6014
commit
dc542cdc9d
@@ -28,7 +28,7 @@ namespace snmalloc
|
||||
* ever use.
|
||||
*/
|
||||
template<SNMALLOC_CONCEPT(PALNoAllocBase) BasePAL>
|
||||
struct PALNoAlloc : public PalTimerDefaultImpl<BasePAL>
|
||||
struct PALNoAlloc : public BasePAL
|
||||
{
|
||||
/**
|
||||
* Bitmap of PalFeatures flags indicating the optional features that this
|
||||
@@ -38,7 +38,7 @@ namespace snmalloc
|
||||
|
||||
static constexpr size_t page_size = BasePAL::page_size;
|
||||
|
||||
static constexpr size_t address_bits = Aal::address_bits;
|
||||
static constexpr size_t address_bits = BasePAL::address_bits;
|
||||
|
||||
/**
|
||||
* Print a stack trace.
|
||||
|
||||
Reference in New Issue
Block a user