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

Atsushi Kumagai kumagai-atsushi at mxc.nes.nec.co.jp
Wed Sep 3 01:18:04 PDT 2014


>On 09/02/14 at 09:15pm, Baoquan He wrote:
>> 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.
>
>Since Atsushi has decided to merge it, I would like to adjust this later
>after v1.5.7.
>
>Maybe we can talk about this and the message issue later.

v1.5.7 will be released within a week, but I'm still receiving 
such small fix for it.

>Thanks
>Baoquan
>>
>> >
>> > > 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.

I've remembered that your patch set doesn't mention the target
architecture, it's better to update the man page and the help
message to note that this feature is only for x86_64 for now.
So could you post an additional patch to do it? I want to merge
it into v1.5.7 at least.


Thanks
Atsushi Kumagai


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



More information about the kexec mailing list