On Tue, Jul 17, Olaf Hering wrote: To make this robust against allocation errors I will change it to
do { > + /* Allocate new mfn for previous pfn */ > + rc = HYPERVISOR_memory_op(XENMEM_populate_physmap, &reservation); } while (rc == 0); > + > + /* Make sure the previous pfn is really connected to a (new) mfn */ > + BUG_ON(rc != 1); Olaf -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/