Messages in this thread | | | Date | Fri, 4 Feb 2011 09:00:08 +0900 | From | KAMEZAWA Hiroyuki <> | Subject | Re: [patch] memcg: add memcg sanity checks at allocating and freeing pages |
| |
On Thu, 3 Feb 2011 15:15:33 +0100 Johannes Weiner <hannes@cmpxchg.org> wrote:
> From: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> > > 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 <nishimura@mxp.nes.nec.co.jp> > Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
| |