From: Greg KH <greg@kroah.com>
To: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com>
Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
aarcange@redhat.com, minchan@kernel.org,
kirill.shutemov@linux.intel.com, linux-mm@kvack.org,
hughd@google.com, borntraeger@de.ibm.com,
gerald.schaefer@de.ibm.com, stable@vger.kernel.org
Subject: Re: [PATCH v1 1/1] mm/ksm: fix inconsistent accounting of zero pages
Date: Thu, 5 Apr 2018 15:50:02 +0200 [thread overview]
Message-ID: <20180405135002.GA23486@kroah.com> (raw)
In-Reply-To: <1522931274-15552-1-git-send-email-imbrenda@linux.vnet.ibm.com>
On Thu, Apr 05, 2018 at 02:27:54PM +0200, Claudio Imbrenda wrote:
> When using KSM with use_zero_pages, we replace anonymous pages
> containing only zeroes with actual zero pages, which are not anonymous.
> We need to do proper accounting of the mm counters, otherwise we will
> get wrong values in /proc and a BUG message in dmesg when tearing down
> the mm.
>
> Fixes: e86c59b1b1 ("mm/ksm: improve deduplication of zero pages with colouring")
>
> Signed-off-by: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com>
> ---
> mm/ksm.c | 7 +++++++
> 1 file changed, 7 insertions(+)
<formletter>
This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.
</formletter>
next prev parent reply other threads:[~2018-04-05 13:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-05 12:27 [PATCH v1 1/1] mm/ksm: fix inconsistent accounting of zero pages Claudio Imbrenda
2018-04-05 13:50 ` Greg KH [this message]
2018-04-09 3:37 ` Sasha Levin
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=20180405135002.GA23486@kroah.com \
--to=greg@kroah.com \
--cc=aarcange@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=borntraeger@de.ibm.com \
--cc=gerald.schaefer@de.ibm.com \
--cc=hughd@google.com \
--cc=imbrenda@linux.vnet.ibm.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=minchan@kernel.org \
--cc=stable@vger.kernel.org \
/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.