[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.48 and 1.49

version 1.48, 2000/12/11 05:22:56 version 1.49, 2001/01/14 02:06:21
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.48  
changed lines
  Added in v.1.49

CVSweb <webmaster@jp.NetBSD.org>