Re: any way to find out kernel memory usage?

From: Mark Lord
Date: Wed Apr 27 2005 - 17:34:56 EST

How about in your private kernel build (Chris),
instrument alloc_pages() and free_pages() to maintain
a simple running tally of GFP_KERNEL and GFP_ATOMIC
page allocation counts ?

I wonder if that would catch all kernel allocations?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at