From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vitaly Kuznetsov Subject: Re: [PATCH v4 4/9] xen: introduce XEN_DOMCTL_devour Date: Thu, 04 Dec 2014 15:48:38 +0100 Message-ID: <871tofii7t.fsf@vitty.brq.redhat.com> References: <1417626981-8432-1-git-send-email-vkuznets@redhat.com> <1417626981-8432-5-git-send-email-vkuznets@redhat.com> <54803EEC.5040404@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XwXi8-0001u1-QL for xen-devel@lists.xenproject.org; Thu, 04 Dec 2014 14:48:52 +0000 In-Reply-To: <54803EEC.5040404@linaro.org> (Julien Grall's message of "Thu, 04 Dec 2014 11:01:00 +0000") List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: Wei Liu , Andrew Jones , Keir Fraser , Ian Campbell , Stefano Stabellini , Andrew Cooper , Ian Jackson , Tim Deegan , David Vrabel , Jan Beulich , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org Julien Grall writes: > On 03/12/2014 17:16, Vitaly Kuznetsov wrote: >> diff --git a/xen/include/xen/sched.h b/xen/include/xen/sched.h >> index a42d0b8..552e4a3 100644 >> --- a/xen/include/xen/sched.h >> +++ b/xen/include/xen/sched.h >> @@ -366,6 +366,8 @@ struct domain >> bool_t is_privileged; >> /* Which guest this guest has privileges on */ >> struct domain *target; >> + /* Which guest receives freed memory pages */ > > It took me a while to understand that the recipient domain is a newly > created domain, right? It might be worth to add a word here (and maybe > in assign_pages). Sure, will add. In case you think renaming 'recipient' to something else makes sense I'm all in. > > With that in mind, the code in assign_pages makes more sense. > > Regards, -- Vitaly