summaryrefslogtreecommitdiffstats
path: root/kernel/memremap.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--kernel/memremap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/memremap.c b/kernel/memremap.c
index 1403cf16fa61..ea0e18a2a5f2 100644
--- a/kernel/memremap.c
+++ b/kernel/memremap.c
@@ -516,6 +516,7 @@ void put_zone_device_private_page(struct page *page)
__ClearPageWaiters(page);
page->mapping = NULL;
+ mem_cgroup_uncharge(page);
page->pgmap->page_free(page, page->pgmap->data);
} else if (!count)