[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.197 and 1.198

version 1.197, 2012/06/05 22:51:47 version 1.198, 2012/08/28 15:52:19
Line 462  pool_init(struct pool *pp, size_t size, 
Line 462  pool_init(struct pool *pp, size_t size, 
         int off, slack;          int off, slack;
   
 #ifdef DEBUG  #ifdef DEBUG
           if (__predict_true(!cold))
                   mutex_enter(&pool_head_lock);
         /*          /*
          * Check that the pool hasn't already been initialised and           * Check that the pool hasn't already been initialised and
          * added to the list of all pools.           * added to the list of all pools.
Line 471  pool_init(struct pool *pp, size_t size, 
Line 473  pool_init(struct pool *pp, size_t size, 
                         panic("pool_init: pool %s already initialised",                          panic("pool_init: pool %s already initialised",
                             wchan);                              wchan);
         }          }
           if (__predict_true(!cold))
                   mutex_exit(&pool_head_lock);
 #endif  #endif
   
         if (palloc == NULL)          if (palloc == NULL)

Legend:
Removed from v.1.197  
changed lines
  Added in v.1.198

CVSweb <webmaster@jp.NetBSD.org>