backout rev 1.74
Requested by: ssouhlal
This commit is contained in:
parent
be495bef58
commit
1a3481f3d8
@ -118,7 +118,6 @@ struct filedesc_to_leader {
|
||||
mtx_unlock(&(fd)->fd_mtx); \
|
||||
} while (0)
|
||||
|
||||
#ifdef SMP
|
||||
#define FILEDESC_LOCK_FAST(fd) \
|
||||
do { \
|
||||
mtx_lock(&(fd)->fd_mtx); \
|
||||
@ -138,10 +137,7 @@ struct filedesc_to_leader {
|
||||
wakeup(&(fd)->fd_locked); \
|
||||
mtx_unlock(&(fd)->fd_mtx); \
|
||||
} while (0)
|
||||
#else
|
||||
#define FILEDESC_LOCK_FAST(fdp) critical_enter()
|
||||
#define FILEDESC_UNLOCK_FAST(fdp) critical_exit()
|
||||
#endif /* SMP */
|
||||
|
||||
#ifdef INVARIANT_SUPPORT
|
||||
#define FILEDESC_LOCK_ASSERT(fd, arg) \
|
||||
do { \
|
||||
|
Loading…
x
Reference in New Issue
Block a user