From 33ff935aeed75ae28eaedc9f8218337a7dba94a5 Mon Sep 17 00:00:00 2001 From: Matthew Parkinson Date: Tue, 9 Jul 2019 14:57:23 +0100 Subject: [PATCH] Remove infinite loop from adding message queue check Adding a handle_message_queue here lead to an infinite loop. --- src/mem/alloc.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mem/alloc.h b/src/mem/alloc.h index 023b2c1..c721948 100644 --- a/src/mem/alloc.h +++ b/src/mem/alloc.h @@ -1153,8 +1153,6 @@ namespace snmalloc SNMALLOC_SLOW_PATH void small_dealloc_offseted_slow( Superslab* super, void* p, sizeclass_t sizeclass) { - handle_message_queue(); - bool was_full = super->is_full(); SlabList* sl = &small_classes[sizeclass]; Slab* slab = Slab::get(p);