LKML Archive on
help / color / mirror / Atom feed
From: KAMEZAWA Hiroyuki <>
To: Johannes Weiner <>
Cc: Andrew Morton <>,
	Daisuke Nishimura <>,
	Balbir Singh <>,,
Subject: Re: [patch] memcg: add memcg sanity checks at allocating and freeing pages
Date: Fri, 4 Feb 2011 09:00:08 +0900	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Thu, 3 Feb 2011 15:15:33 +0100
Johannes Weiner <> wrote:

> From: Daisuke Nishimura <>
> This patch add checks at allocating or freeing a page whether the page is used
> (iow, charged) from the view point of memcg.
> This check may be useful in debugging a problem and we did similar checks
> before the commit 52d4b9ac(memcg: allocate all page_cgroup at boot).
> This patch adds some overheads at allocating or freeing memory, so it's enabled
> only when CONFIG_DEBUG_VM is enabled.
> Signed-off-by: Daisuke Nishimura <>
> Signed-off-by: Johannes Weiner <>

Acked-by: KAMEZAWA Hiroyuki <>

  reply	other threads:[~2011-02-04  0:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-03 14:15 Johannes Weiner
2011-02-04  0:00 ` KAMEZAWA Hiroyuki [this message]
2011-02-04  3:35 ` Daisuke Nishimura

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] memcg: add memcg sanity checks at allocating and freeing 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).