diff --git a/mm/page_cgroup.c b/mm/page_cgroup.c index 5ddad0c6daa6c6c23c3e0f03b55e13c79d061a59..44db00e253ed35f7b4909ab7c151a6af145c0210 100644 --- a/mm/page_cgroup.c +++ b/mm/page_cgroup.c @@ -251,6 +251,9 @@ static int __meminit page_cgroup_callback(struct notifier_block *self, mn->nr_pages, mn->status_change_nid); break; case MEM_CANCEL_ONLINE: + offline_page_cgroup(mn->start_pfn, + mn->nr_pages, mn->status_change_nid); + break; case MEM_GOING_OFFLINE: break; case MEM_ONLINE: