diff options
author | behlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c> | 2008-05-09 22:53:20 +0000 |
---|---|---|
committer | behlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c> | 2008-05-09 22:53:20 +0000 |
commit | c6dc93d6a8814198165e28364c2941cd55a071a6 (patch) | |
tree | b91c1b3cba383364dce8c4c54217312c9239a339 /include/sys/mutex.h | |
parent | 5c2bb9b2c314bcac7579b13a99127eb7050a7b90 (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.h | 3 |
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 |