[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.118 and 1.119

version 1.118, 2006/06/07 22:33:40 version 1.119, 2006/07/21 10:08:41
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.118  
changed lines
  Added in v.1.119

CVSweb <webmaster@jp.NetBSD.org>