···5050 .index = 0, \5151 .force = force })52525353+static void report_enomem(void)5454+{5555+ printk(KERN_ERR "UML ran out of memory on the host side! "5656+ "This can happen due to a memory limitation or "5757+ "vm.max_map_count has been reached.\n");5858+}5959+5360static int do_ops(struct host_vm_change *hvc, int end,5461 int finished)5562{···8780 break;8881 }8982 }8383+8484+ if (ret == -ENOMEM)8585+ report_enomem();90869187 return ret;9288}···443433 else if (pte_newprot(*pte))444434 err = protect(mm_id, address, PAGE_SIZE, prot, 1, &flush);445435446446- if (err)436436+ if (err) {437437+ if (err == -ENOMEM)438438+ report_enomem();439439+447440 goto kill;441441+ }448442449443 *pte = pte_mkuptodate(*pte);450444