On Wed, Dec 24, 2008 at 10:25:09AM +0530, Pramod Gunjikar wrote: > I have a test which basically results is a large number of DMA & kmem > resources to be allocated and freed up. After running > the test, I observe that ::memstat shows that the kernel pages has > jumped from around 12% to around 50%. From the core files, > ::findleaks does not report any leaks as a result of running the tests. > > Is it that ::memstat just counts the physical pages which are marked > with KAS, and kmem_free & DMA free do not really result > in physical pages taken out of KAS. Or is it possible that ::findleaks > has missed reporting some leaks.
The kmem subsystem only returns kernel storage when memory becomes "tight". Until then, most frees will simply put the buffer on a freelist, for quick allocation later. Cheers, - jonathan > Appreciate your inputs and thoughts on the above. > > Thanks > Pramod > > _______________________________________________ > mdb-discuss mailing list > mdb-discuss at opensolaris.org