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. Appreciate your inputs and thoughts on the above. Thanks Pramod