[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.99 and 1.99.2.1

version 1.99, 2005/01/01 21:09:56 version 1.99.2.1, 2005/04/29 11:29:24
Line 2251  pool_page_alloc(struct pool *pp, int fla
Line 2251  pool_page_alloc(struct pool *pp, int fla
 {  {
         boolean_t waitok = (flags & PR_WAITOK) ? TRUE : FALSE;          boolean_t waitok = (flags & PR_WAITOK) ? TRUE : FALSE;
   
         return ((void *) uvm_km_alloc_poolpage_cache(kmem_map, NULL, waitok));          return ((void *) uvm_km_alloc_poolpage_cache(kmem_map, waitok));
 }  }
   
 void  void
Line 2266  pool_page_alloc_meta(struct pool *pp, in
Line 2266  pool_page_alloc_meta(struct pool *pp, in
 {  {
         boolean_t waitok = (flags & PR_WAITOK) ? TRUE : FALSE;          boolean_t waitok = (flags & PR_WAITOK) ? TRUE : FALSE;
   
         return ((void *) uvm_km_alloc_poolpage1(kmem_map, NULL, waitok));          return ((void *) uvm_km_alloc_poolpage(kmem_map, waitok));
 }  }
   
 static void  static void
 pool_page_free_meta(struct pool *pp, void *v)  pool_page_free_meta(struct pool *pp, void *v)
 {  {
   
         uvm_km_free_poolpage1(kmem_map, (vaddr_t) v);          uvm_km_free_poolpage(kmem_map, (vaddr_t) v);
 }  }
   
 #ifdef POOL_SUBPAGE  #ifdef POOL_SUBPAGE
Line 2318  pool_page_alloc_nointr(struct pool *pp, 
Line 2318  pool_page_alloc_nointr(struct pool *pp, 
 {  {
         boolean_t waitok = (flags & PR_WAITOK) ? TRUE : FALSE;          boolean_t waitok = (flags & PR_WAITOK) ? TRUE : FALSE;
   
         return ((void *) uvm_km_alloc_poolpage_cache(kernel_map,          return ((void *) uvm_km_alloc_poolpage_cache(kernel_map, waitok));
             uvm.kernel_object, waitok));  
 }  }
   
 void  void

Legend:
Removed from v.1.99  
changed lines
  Added in v.1.99.2.1

CVSweb <webmaster@jp.NetBSD.org>