From: "Jan Beulich" Subject: Re: [PATCH v2 2/3] xen: introduce function merge_free_trunks Date: Mon, 30 Jun 2014 16:58:06 +0100 Message-ID: <53B1A52E020000780001EA70@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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1X1dy7-0000W9-HT for xen-devel@lists.xenproject.org; Mon, 30 Jun 2014 15:58:11 +0000 In-Reply-To: <1404135584-29206-2-git-send-email-bob.liu@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 , xen-devel@lists.xenproject.org Cc: keir@xen.org, ian.campbell@citrix.com, George.Dunlap@eu.citrix.com, andrew.cooper3@citrix.com List-Id: xen-devel@lists.xenproject.org >>> 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(), ... > @@ -891,59 +953,7 @@ static void free_heap_pages( > } > } > > - /* Merge chunks as far as possible. */ ... taking into consideration this comment the patch removes? Jan