- Relocate 'stats_per' in to proper /proc/sys/spl/mutex/ directory

- Shift to spinlock for mutex list addition and removal



git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@98 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
This commit is contained in:
behlendo
2008-05-07 17:58:22 +00:00
parent 4f86a887d8
commit 404992e31a
3 changed files with 67 additions and 34 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ extern int mutex_spin_max;
#ifdef DEBUG_MUTEX
extern int mutex_stats[MUTEX_STATS_SIZE];
extern struct rw_semaphore mutex_stats_sem;
extern spinlock_t mutex_stats_lock;
extern struct list_head mutex_stats_list;
#define MUTEX_STAT_INC(stats, stat) ((stats)[stat]++)
#else