summaryrefslogtreecommitdiffstats
path: root/include/sys/mutex.h
diff options
context:
space:
mode:
authorbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>2008-05-09 22:53:20 +0000
committerbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>2008-05-09 22:53:20 +0000
commitc6dc93d6a8814198165e28364c2941cd55a071a6 (patch)
treeb91c1b3cba383364dce8c4c54217312c9239a339 /include/sys/mutex.h
parent5c2bb9b2c314bcac7579b13a99127eb7050a7b90 (diff)
By default disable extra KMEM and MUTEX debugging to aid performance.
They can easily be re-enabled when new stability issues are uncovered. git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@105 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
Diffstat (limited to 'include/sys/mutex.h')
-rw-r--r--include/sys/mutex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sys/mutex.h b/include/sys/mutex.h
index 58d1bf629..b54f495b9 100644
--- a/include/sys/mutex.h
+++ b/include/sys/mutex.h
@@ -10,7 +10,8 @@ extern "C" {
#include <sys/types.h>
#include <sys/kmem.h>
-#define DEBUG_MUTEX
+//#define DEBUG_MUTEX
+#undef DEBUG_MUTEX
#define MUTEX_DEFAULT 0
#define MUTEX_SPIN 1