On Wed, 2005-04-27 at 11:44 -0600, Chris Friesen wrote:
> Okay, so can I get the total amount of memory used by the kernel based
> on meminfo output? (Slab + VmallocUsed) maybe?
I don't think that will include page tables, unless the architecture
allocates page tables from slab (some might, especially recently).
And it won't have memory that didn't come from slab, e.g.
get_free_pages() or anything else right off the buddy allocator.
There is no easy way to do this. To do it right, we'd need fine-grained
accounting.
Robert Love
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]