From: Jens Axboe Date: Tue, 27 May 2008 09:40:37 +0000 (+0200) Subject: smalloc: turn on the thread safe flag X-Git-Tag: fio-1.21-rc1~1 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=1f37f63654d36bb4d07180a4b622beb79ba2c3e3;p=fio.git smalloc: turn on the thread safe flag Signed-off-by: Jens Axboe --- 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 */