projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec996e9
)
smalloc: turn on the thread safe flag
author
Jens Axboe
<jens.axboe@oracle.com>
Tue, 27 May 2008 09:40:37 +0000
(11:40 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Tue, 27 May 2008 09:40:37 +0000
(11:40 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
smalloc.c
patch
|
blob
|
blame
|
history
diff --git
a/smalloc.c
b/smalloc.c
index 3af39f3636c59b79a32c6c9ff40deb7fe0b18253..cdc9ed858579c27e9421e5763767644565d517b3 100644
(file)
--- 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 */