[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.88 and 1.89

version 1.88, 2003/11/13 02:44:01 version 1.89, 2003/12/29 16:04:58
Line 1067  pool_prime_page(struct pool *pp, caddr_t
Line 1067  pool_prime_page(struct pool *pp, caddr_t
         unsigned int align = pp->pr_align;          unsigned int align = pp->pr_align;
         unsigned int ioff = pp->pr_itemoffset;          unsigned int ioff = pp->pr_itemoffset;
         int n;          int n;
           int s;
   
 #ifdef DIAGNOSTIC  #ifdef DIAGNOSTIC
         if (((u_long)cp & (pp->pr_alloc->pa_pagesz - 1)) != 0)          if (((u_long)cp & (pp->pr_alloc->pa_pagesz - 1)) != 0)
Line 1080  pool_prime_page(struct pool *pp, caddr_t
Line 1081  pool_prime_page(struct pool *pp, caddr_t
         TAILQ_INIT(&ph->ph_itemlist);          TAILQ_INIT(&ph->ph_itemlist);
         ph->ph_page = storage;          ph->ph_page = storage;
         ph->ph_nmissing = 0;          ph->ph_nmissing = 0;
         memset(&ph->ph_time, 0, sizeof(ph->ph_time));          s = splclock();
           ph->ph_time = mono_time;
           splx(s);
         if ((pp->pr_roflags & PR_PHINPAGE) == 0)          if ((pp->pr_roflags & PR_PHINPAGE) == 0)
                 SPLAY_INSERT(phtree, &pp->pr_phtree, ph);                  SPLAY_INSERT(phtree, &pp->pr_phtree, ph);
   

Legend:
Removed from v.1.88  
changed lines
  Added in v.1.89

CVSweb <webmaster@jp.NetBSD.org>