[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.30.2.4 and 1.30.2.5

version 1.30.2.4, 2000/12/13 15:50:21 version 1.30.2.5, 2001/01/18 09:23:45
Line 1306  pool_drain(void *arg)
Line 1306  pool_drain(void *arg)
         struct pool *pp;          struct pool *pp;
         int s;          int s;
   
         s = splimp();          s = splvm();
         simple_lock(&pool_head_slock);          simple_lock(&pool_head_slock);
   
         if (drainpp == NULL && (drainpp = TAILQ_FIRST(&pool_head)) == NULL)          if (drainpp == NULL && (drainpp = TAILQ_FIRST(&pool_head)) == NULL)
Line 1331  pool_print(struct pool *pp, const char *
Line 1331  pool_print(struct pool *pp, const char *
 {  {
         int s;          int s;
   
         s = splimp();          s = splvm();
         if (simple_lock_try(&pp->pr_slock) == 0) {          if (simple_lock_try(&pp->pr_slock) == 0) {
                 printf("pool %s is locked; try again later\n",                  printf("pool %s is locked; try again later\n",
                     pp->pr_wchan);                      pp->pr_wchan);

Legend:
Removed from v.1.30.2.4  
changed lines
  Added in v.1.30.2.5

CVSweb <webmaster@jp.NetBSD.org>