summaryrefslogtreecommitdiff
path: root/kernel/memremap.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/memremap.c')
-rw-r--r--kernel/memremap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/memremap.c b/kernel/memremap.c
index 1b084ca85b88..6b601e4ca87f 100644
--- a/kernel/memremap.c
+++ b/kernel/memremap.c
@@ -480,6 +480,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)