[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.31 and 1.32

version 1.31, 2000/02/14 19:28:19 version 1.32, 2000/04/10 02:17:42
Line 851  _pool_put(pp, v, file, line)
Line 851  _pool_put(pp, v, file, line)
          * Return to item list.           * Return to item list.
          */           */
 #ifdef DIAGNOSTIC  #ifdef DIAGNOSTIC
         /* XXX Should fill the item. */  
         pi->pi_magic = PI_MAGIC;          pi->pi_magic = PI_MAGIC;
 #endif  #endif
   #ifdef DEBUG
           {
                   int i, *ip = v;
   
                   for (i = 0; i < pp->pr_size / sizeof(int); i++) {
                           *ip++ = PI_MAGIC;
                   }
           }
   #endif
   
         TAILQ_INSERT_HEAD(&ph->ph_itemlist, pi, pi_list);          TAILQ_INSERT_HEAD(&ph->ph_itemlist, pi, pi_list);
         ph->ph_nmissing--;          ph->ph_nmissing--;
         pp->pr_nput++;          pp->pr_nput++;

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

CVSweb <webmaster@jp.NetBSD.org>