From 1f37f63654d36bb4d07180a4b622beb79ba2c3e3 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 27 May 2008 11:40:37 +0200 Subject: [PATCH] smalloc: turn on the thread safe flag Signed-off-by: Jens Axboe --- smalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smalloc.c b/smalloc.c index 3af39f36..cdc9ed85 100644 --- a/smalloc.c +++ b/smalloc.c @@ -13,7 +13,7 @@ #include "mutex.h" -#undef MP_SAFE /* define to make thread safe */ +#define MP_SAFE /* define to make thread safe */ #define SMALLOC_REDZONE /* define to detect memory corruption */ #define SMALLOC_BPB 32 /* block size, bytes-per-bit in bitmap */ -- 2.25.1