When page are poisoned, they should be uncharged from the root memory cgroup. Signed-off-by: Laurent Dufour <ldufour@xxxxxxxxxxxxxxxxxx> --- 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 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>