Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD master CVS tree commits



thorpej
Fri Jul 24 13:19:24 PDT 1998
Update of /cvsroot/src/sys/kern
In directory nb00:/tmp/cvs-serv2042

Modified Files:
        subr_pool.c 
Log Message:
A few small changes to how pool pages are allocated/freed:
- If either an alloc or release function is provided, make sure both are
  provided, otherwise panic, as this is a fatal error.
- If using the default allocator, default the pool pagesz to PAGE_SIZE,
  since that is the granularity of the default allocator's mechanism.
- In the default allocator, use new functions:
        uvm_km_alloc_poolpage()/uvm_km_free_poolpage(), or
        kmem_alloc_poolpage()/kmem_free_poolpage()
  rather than doing it here.  These functions may use pmap hooks to
  provide alternate methods of mapping pool pages.




Home | Main Index | Thread Index | Old Index