[PATCH 0/4] [BUGFIX] thp vs memcg fix.

From: KAMEZAWA Hiroyuki
Date: Fri Jan 14 2011 - 05:10:20 EST



Now, memcg is broken when used with THP in -mm. I thought I had more time but it's
now merged....so, I made a quick fix. I'm sorry for my laziness.

All patches are onto mmotm-Jan07.

The issues are mainly on statistics accounting.
- the number of anon pages in memcg.
- the number of pages on LRU.
- rmdir() will leak some accounts. etc.

Please see each patches for details.

I don't have enough test time before positing, so please take this as quick
trial and give me strict review. And if you find another issues, please
notify me.

Testeres shoulld make CONFIG_TRANSPARENT_HUGEPAGE=y and
use 'always'. giving memory pressure, create/remove memory cgroup,
move tasks without account move. And see memory.stat file.

Thanks,
-Kame

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/