From: "Jan Beulich" Subject: Re: [PATCH v2 2/3] xen: introduce function merge_free_trunks Date: Tue, 01 Jul 2014 09:27:40 +0100 Message-ID: <53B28D1C020000780001EDF4@mail.emea.novell.com> References: <1404135584-29206-1-git-send-email-bob.liu@oracle.com> <1404135584-29206-2-git-send-email-bob.liu@oracle.com> <53B1A52E020000780001EA70@mail.emea.novell.com> <53B26DCE.7000105@oracle.com> 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 1X1tPw-000110-Dd for xen-devel@lists.xenproject.org; Tue, 01 Jul 2014 08:27:56 +0000 In-Reply-To: <53B26DCE.7000105@oracle.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Bob Liu Cc: Bob Liu , keir@xen.org, ian.campbell@citrix.com, George.Dunlap@eu.citrix.com, andrew.cooper3@citrix.com, xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org >>> On 01.07.14 at 10:14, wrote: > On 06/30/2014 11:58 PM, Jan Beulich wrote: >>>>> On 30.06.14 at 15:39, wrote: >>> --- a/xen/common/page_alloc.c >>> +++ b/xen/common/page_alloc.c >>> @@ -831,11 +831,73 @@ static int reserve_offlined_page(struct page_info > *head) >>> return count; >>> } >>> >>> +static void merge_free_trunks(struct page_info *pg, unsigned int order, >> >> Did you perhaps mean merge_free_chunks(), ... > > Oh, yes. > >> >>> @@ -891,59 +953,7 @@ static void free_heap_pages( >>> } >>> } >>> >>> - /* Merge chunks as far as possible. */ >> >> ... taking into consideration this comment the patch removes? >> > > I will fix these two issues. The removal of the comment is not an issue - I was just using this to help pointing out what the intended naming here is. > Would you please also take a look at [PATCH v2 3/3]? Off course - all in due order (this isn't the only thing I have to take care of, and not highest priority either). Jan