[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.94 and 1.95

version 1.94, 2004/04/25 16:42:41 version 1.95, 2004/05/20 05:08:29
Line 670  pool_get(struct pool *pp, int flags)
Line 670  pool_get(struct pool *pp, int flags)
         void *v;          void *v;
   
 #ifdef DIAGNOSTIC  #ifdef DIAGNOSTIC
           if (__predict_false(pp->pr_itemsperpage == 0))
                   panic("pool_get: pool %p: pr_itemsperpage is zero, "
                       "pool not initialized?", pp);
         if (__predict_false(curlwp == NULL && doing_shutdown == 0 &&          if (__predict_false(curlwp == NULL && doing_shutdown == 0 &&
                             (flags & PR_WAITOK) != 0))                              (flags & PR_WAITOK) != 0))
                 panic("pool_get: %s: must have NOWAIT", pp->pr_wchan);                  panic("pool_get: %s: must have NOWAIT", pp->pr_wchan);

Legend:
Removed from v.1.94  
changed lines
  Added in v.1.95

CVSweb <webmaster@jp.NetBSD.org>