Up to [cvs.NetBSD.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: eeh-paddr_t-base
Revision 1.4 / (download) - annotate - [select for diffs], Fri Jul 24 20:19:23 1998 UTC (14 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.3: +14 -14
lines
Diff to previous 1.3 (colored)
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.