CR Feedback
Removed stub from message queue, and use an actual allocation.
This commit is contained in:
@@ -150,7 +150,7 @@ namespace snmalloc
|
||||
// Returns true, if it deallocation can proceed without changing any status
|
||||
// bits. Note that this does remove the use from the meta slab, so it
|
||||
// doesn't need doing on the slow path.
|
||||
FAST_PATH bool dealloc_fast(Superslab* super, void* p)
|
||||
SNMALLOC_FAST_PATH bool dealloc_fast(Superslab* super, void* p)
|
||||
{
|
||||
Metaslab& meta = super->get_meta(this);
|
||||
#ifdef CHECK_CLIENT
|
||||
@@ -187,7 +187,7 @@ namespace snmalloc
|
||||
// Returns a complex return code for managing the superslab meta data.
|
||||
// i.e. This deallocation could make an entire superslab free.
|
||||
template<typename MemoryProvider>
|
||||
SLOW_PATH typename Superslab::Action dealloc_slow(
|
||||
SNMALLOC_SLOW_PATH typename Superslab::Action dealloc_slow(
|
||||
SlabList* sl, Superslab* super, void* p, MemoryProvider& memory_provider)
|
||||
{
|
||||
Metaslab& meta = super->get_meta(this);
|
||||
|
||||
Reference in New Issue
Block a user