[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 1:51 AM, Jan Beulich <JBeulich@xxxxxxxx> wrote: >>> On 08.10.15 at 22:57, <tamas@xxxxxxxxxxxxx> wrote: Pointless but harmless and I like this style better. Â > +next: Ack. Â
It's reused in the caller to indicate where the mso copyback happens and rc is of type int in the caller. Â
It does but it's return is assigned to rc which is used to decide where copyback happens. Â
It's expected that the user has exclusive tool-side lock on the domains before issuing this hypercall and that the domains are paused already. Â
I don't see where the confusion is - rc indicates there is work left to do and hypercall continuation needs to be setup. I could move this block into bulk_share itself. Â
I don't really have a use-case for that at the moment and having it simply as "bulk" is not specific enough IMHO. Â
In my book IN means it's used strictly only to pass input and it's value may or may not be the same afterwards. Â
Sure, I'll add a comment for that effect - the toolstack already memsets the mso struct to zero but I agree it's better to explicitly state that. Â Tamas _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |