When page are poisoned, they should be uncharged from the root memory cgroup.
Signed-off-by: Laurent Dufour <lduf...@linux.vnet.ibm.com> --- mm/memory-failure.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/memory-failure.c b/mm/memory-failure.c index 27f7210e7fab..00bd39d3d4cb 100644 --- a/mm/memory-failure.c +++ b/mm/memory-failure.c @@ -530,6 +530,7 @@ static const char * const action_page_types[] = { static int delete_from_lru_cache(struct page *p) { if (!isolate_lru_page(p)) { + memcg_kmem_uncharge(p, 0); /* * Clear sensible page flags, so that the buddy system won't * complain when the page is unpoison-and-freed. -- 2.7.4