/* cmm_memory_isolate_cb - Handle memory isolation notifier calls @self: notifier block struct @action: action to take  */
static int cmm_memory_isolate_cb(struct notifier_block *self, unsigned long action, void *arg)
/* cmm_memory_isolate_cb - Handle memory isolation notifier calls @self: notifier block struct @action: action to take  */
static int cmm_memory_isolate_cb(struct notifier_block *self, unsigned long action, void *arg)
{
	int ret = 0;
	if (action == MEM_ISOLATE_COUNT)
		ret = cmm_count_pages(arg);
	if (ret)
		ret = notifier_from_errno(ret);
	else
		ret = NOTIFY_OK;
	return ret;
}