All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rik van Riel <riel@redhat.com>
To: Johannes Weiner <hannes@cmpxchg.org>
Cc: akpm@linux-foundation.org, nai.xia@gmail.com,
	aarcange@redhat.com, chrisw@sous-sol.org,
	hugh.dickins@tiscali.co.uk, mm-commits@vger.kernel.org,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: + ksm-add-vm_stat-and-meminfo-entry-to-reflect-pte-mapping-to-ksm-pages.patch added to -mm tree
Date: Thu, 24 Mar 2011 09:20:20 -0400	[thread overview]
Message-ID: <4D8B4514.9050904@redhat.com> (raw)
In-Reply-To: <20110324125316.GA2310@cmpxchg.org>

On 03/24/2011 08:53 AM, Johannes Weiner wrote:
> On Tue, Mar 01, 2011 at 03:41:06PM -0800, akpm@linux-foundation.org wrote:
>> diff -puN include/linux/mmzone.h~ksm-add-vm_stat-and-meminfo-entry-to-reflect-pte-mapping-to-ksm-pages include/linux/mmzone.h
>> --- a/include/linux/mmzone.h~ksm-add-vm_stat-and-meminfo-entry-to-reflect-pte-mapping-to-ksm-pages
>> +++ a/include/linux/mmzone.h
>> @@ -115,6 +115,9 @@ enum zone_stat_item {
>>   	NUMA_OTHER,		/* allocation from other node */
>>   #endif
>>   	NR_ANON_TRANSPARENT_HUGEPAGES,
>> +#ifdef CONFIG_KSM
>> +	NR_KSM_PAGES_SHARING,
>> +#endif
>>   	NR_VM_ZONE_STAT_ITEMS };
>
> This adds a zone stat item without a corresponding entry in
> vm_stat_text.  As a result, all vm event entries in /proc/vmstat show
> the value of the respective previous counter.
>
> Signed-off-by: Johannes Weiner<hannes@cmpxchg.org>

Acked-by: Rik van Riel <riel@redhat.com>


-- 
All rights reversed

WARNING: multiple messages have this Message-ID (diff)
From: Rik van Riel <riel@redhat.com>
To: Johannes Weiner <hannes@cmpxchg.org>
Cc: akpm@linux-foundation.org, nai.xia@gmail.com,
	aarcange@redhat.com, chrisw@sous-sol.org,
	hugh.dickins@tiscali.co.uk, mm-commits@vger.kernel.org,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: + ksm-add-vm_stat-and-meminfo-entry-to-reflect-pte-mapping-to-ksm-pages.patch added to -mm tree
Date: Thu, 24 Mar 2011 09:20:20 -0400	[thread overview]
Message-ID: <4D8B4514.9050904@redhat.com> (raw)
In-Reply-To: <20110324125316.GA2310@cmpxchg.org>

On 03/24/2011 08:53 AM, Johannes Weiner wrote:
> On Tue, Mar 01, 2011 at 03:41:06PM -0800, akpm@linux-foundation.org wrote:
>> diff -puN include/linux/mmzone.h~ksm-add-vm_stat-and-meminfo-entry-to-reflect-pte-mapping-to-ksm-pages include/linux/mmzone.h
>> --- a/include/linux/mmzone.h~ksm-add-vm_stat-and-meminfo-entry-to-reflect-pte-mapping-to-ksm-pages
>> +++ a/include/linux/mmzone.h
>> @@ -115,6 +115,9 @@ enum zone_stat_item {
>>   	NUMA_OTHER,		/* allocation from other node */
>>   #endif
>>   	NR_ANON_TRANSPARENT_HUGEPAGES,
>> +#ifdef CONFIG_KSM
>> +	NR_KSM_PAGES_SHARING,
>> +#endif
>>   	NR_VM_ZONE_STAT_ITEMS };
>
> This adds a zone stat item without a corresponding entry in
> vm_stat_text.  As a result, all vm event entries in /proc/vmstat show
> the value of the respective previous counter.
>
> Signed-off-by: Johannes Weiner<hannes@cmpxchg.org>

Acked-by: Rik van Riel <riel@redhat.com>


-- 
All rights reversed

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2011-03-24 13:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-01 23:41 + ksm-add-vm_stat-and-meminfo-entry-to-reflect-pte-mapping-to-ksm-pages.patch added to -mm tree akpm
2011-03-24 12:53 ` Johannes Weiner
2011-03-24 12:53   ` Johannes Weiner
2011-03-24 13:20   ` Rik van Riel [this message]
2011-03-24 13:20     ` Rik van Riel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D8B4514.9050904@redhat.com \
    --to=riel@redhat.com \
    --cc=aarcange@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=chrisw@sous-sol.org \
    --cc=hannes@cmpxchg.org \
    --cc=hugh.dickins@tiscali.co.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mm-commits@vger.kernel.org \
    --cc=nai.xia@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.