[BACK]Return to kern_mutex.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / kern

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/kern/kern_mutex.c between version 1.44 and 1.45

version 1.44, 2008/10/15 06:51:20 version 1.45, 2009/01/25 04:45:14
Line 436  mutex_onproc(uintptr_t owner, struct cpu
Line 436  mutex_onproc(uintptr_t owner, struct cpu
 /*  /*
  * mutex_vector_enter:   * mutex_vector_enter:
  *   *
  *      Support routine for mutex_enter() that must handles all cases.  In   *      Support routine for mutex_enter() that must handle all cases.  In
  *      the LOCKDEBUG case, mutex_enter() is always aliased here, even if   *      the LOCKDEBUG case, mutex_enter() is always aliased here, even if
  *      fast-path stubs are available.  If an mutex_spin_enter() stub is   *      fast-path stubs are available.  If an mutex_spin_enter() stub is
  *      not available, then it is also aliased directly here.   *      not available, then it is also aliased directly here.
Line 543  mutex_vector_enter(kmutex_t *mtx)
Line 543  mutex_vector_enter(kmutex_t *mtx)
                         continue;                          continue;
                 }                  }
   
                 if (panicstr != NULL)                  if (__predict_false(panicstr != NULL))
                         return;                          return;
                 if (MUTEX_OWNER(owner) == curthread)                  if (__predict_false(MUTEX_OWNER(owner) == curthread))
                         MUTEX_ABORT(mtx, "locking against myself");                          MUTEX_ABORT(mtx, "locking against myself");
   
 #ifdef MULTIPROCESSOR  #ifdef MULTIPROCESSOR

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45

CVSweb <webmaster@jp.NetBSD.org>