[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 1/2] x86/mem-sharing: Bulk mem-sharing entire domains
On Fri, Oct 9, 2015 at 7:26 AM, Andrew Cooper <andrew.cooper3@xxxxxxxxxx> wrote: On 08/10/15 21:57, Tamas K Lengyel wrote: In my experience all errors here are safe to ignore. Yes, if an ENOMEM condition presents itself the sharing will be incomplete (or even 0). There isn't much the user can do about that other than killing another domain to free up memory.. which will happen anyway automatically when a clone domain first hits an unshare operation. These conditions are better handled with the memsharing event listener. Â
Sure, but I don't have a usecase for returning the error code to the user from the nominate/sharing op. The reason for that is that just return the error condition by itself is not very uself. Furthermore, the gfn at which the operation failed would have to be passed to allow for debugging. But for debugging the user could also just do this loop on his side where he would readily have this information. So I would rather just keep this op as simple as possible. Â
It does happen before setting up the continuation and the continuation only gets setup if this succeeds. Â It also needs to happen on the success path, so .shared is correct. It does happen on the success path below for !rc for all sharing ops. Tamas _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |