[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.181 and 1.182

version 1.181, 2010/01/03 09:42:22 version 1.182, 2010/01/20 23:40:42
Line 2315  void
Line 2315  void
 pool_cache_invalidate(pool_cache_t pc)  pool_cache_invalidate(pool_cache_t pc)
 {  {
         pcg_t *full, *empty, *part;          pcg_t *full, *empty, *part;
   #if 0
         uint64_t where;          uint64_t where;
   
         if (ncpu < 2 || !mp_online) {          if (ncpu < 2 || !mp_online) {
Line 2333  pool_cache_invalidate(pool_cache_t pc)
Line 2334  pool_cache_invalidate(pool_cache_t pc)
                 where = xc_broadcast(0, (xcfunc_t)pool_cache_xcall, pc, NULL);                  where = xc_broadcast(0, (xcfunc_t)pool_cache_xcall, pc, NULL);
                 xc_wait(where);                  xc_wait(where);
         }          }
   #endif
         mutex_enter(&pc->pc_lock);          mutex_enter(&pc->pc_lock);
         full = pc->pc_fullgroups;          full = pc->pc_fullgroups;
         empty = pc->pc_emptygroups;          empty = pc->pc_emptygroups;

Legend:
Removed from v.1.181  
changed lines
  Added in v.1.182

CVSweb <webmaster@jp.NetBSD.org>