LKML Archive on
help / color / mirror / Atom feed
From: Greg KH <>
To: Claudio Imbrenda <>
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: <> (raw)
In-Reply-To: <>

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 <>
> ---
>  mm/ksm.c | 7 +++++++
>  1 file changed, 7 insertions(+)


This is not the correct way to submit patches for inclusion in the
stable kernel tree.  Please read:
for how to do this properly.


  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 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:

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

  git send-email \ \ \ \ \ \ \ \ \ \ \ \ \ \
    --subject='Re: [PATCH v1 1/1] mm/ksm: fix inconsistent accounting of zero pages' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).