[PATCH v6 8/8] add a new interface to show the memory usage of 1st kernel

Baoquan He bhe at redhat.com
Tue Sep 2 06:15:19 PDT 2014


On 09/02/14 at 07:52am, Vivek Goyal wrote:
> On Mon, Sep 01, 2014 at 11:15:40AM +0800, Baoquan He wrote:
 
> > ----------------------------------------------------------------------
> ^^^^^
> 
> Why this line is there?

Oh, I thought you just meant the header, not including this line.

> 
> > TYPE		PAGES			EXCLUDABLE	DESCRIPTION
> > ZERO		28823           	yes		Pages filled with zero
> > CACHE		197932          	yes		Cache pages
> > CACHE_PRIVATE	15862           	yes		Cache pages + private
> > USER		30778           	yes		User process pages
> > FREE		3671105         	yes		Free pages
> > KERN_DATA	105168          	no		Dumpable kernel data
> > 
> > Total pages on system:	4049668
> 
> So this is assuming page size 4K? If some arch is using 16K or 64K,
> will it still work correctly.

This patchset is only for x86_64. Let's firstly introduce this new
feature, if user like it, it can be extended to more ARCHs.

> 
> Thanks
> Vivek
> 
> _______________________________________________
> kexec mailing list
> kexec at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/kexec



More information about the kexec mailing list