[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.112.2.4 and 1.112.2.5

version 1.112.2.4, 2006/06/26 12:52:57 version 1.112.2.5, 2006/08/11 15:45:46
Line 903  pool_get(struct pool *pp, int flags)
Line 903  pool_get(struct pool *pp, int flags)
 #endif /* DIAGNOSTIC */  #endif /* DIAGNOSTIC */
 #ifdef LOCKDEBUG  #ifdef LOCKDEBUG
         if (flags & PR_WAITOK)          if (flags & PR_WAITOK)
                 simple_lock_only_held(NULL, "pool_get(PR_WAITOK)");                  ASSERT_SLEEPABLE(NULL, "pool_get(PR_WAITOK)");
         SCHED_ASSERT_UNLOCKED();          SCHED_ASSERT_UNLOCKED();
 #endif  #endif
   
Line 2011  pool_cache_get_paddr(struct pool_cache *
Line 2011  pool_cache_get_paddr(struct pool_cache *
   
 #ifdef LOCKDEBUG  #ifdef LOCKDEBUG
         if (flags & PR_WAITOK)          if (flags & PR_WAITOK)
                 simple_lock_only_held(NULL, "pool_cache_get(PR_WAITOK)");                  ASSERT_SLEEPABLE(NULL, "pool_cache_get(PR_WAITOK)");
 #endif  #endif
   
         simple_lock(&pc->pc_slock);          simple_lock(&pc->pc_slock);

Legend:
Removed from v.1.112.2.4  
changed lines
  Added in v.1.112.2.5

CVSweb <webmaster@jp.NetBSD.org>