[BACK]Return to subr_pool.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/subr_pool.c between version 1.163 and 1.164

version 1.163, 2008/07/04 16:38:59 version 1.164, 2008/07/04 16:41:00
Line 2524  pool_cache_put_slow(pool_cache_cpu_t *cc
Line 2524  pool_cache_put_slow(pool_cache_cpu_t *cc
         cc->cc_misses++;          cc->cc_misses++;
   
         /* Lock the cache. */          /* Lock the cache. */
         ncsw = curlwp->l_ncsw;  
         if (__predict_false(!mutex_tryenter(&pc->pc_lock))) {          if (__predict_false(!mutex_tryenter(&pc->pc_lock))) {
                   ncsw = curlwp->l_ncsw;
                 mutex_enter(&pc->pc_lock);                  mutex_enter(&pc->pc_lock);
                 pc->pc_contended++;                  pc->pc_contended++;
   

Legend:
Removed from v.1.163  
changed lines
  Added in v.1.164

CVSweb <webmaster@jp.NetBSD.org>