From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f170.google.com (mail-we0-f170.google.com [74.125.82.170]) by dpdk.org (Postfix) with ESMTP id 2C6852E8F for ; Thu, 29 May 2014 11:47:42 +0200 (CEST) Received: by mail-we0-f170.google.com with SMTP id u57so108575wes.29 for ; Thu, 29 May 2014 02:47:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=N168S5VWm/dIaBztDXPvcq8pSnkRSOdYZcDuEfkp8lA=; b=A2dC8kPEjnWwi3KLP+rN9a29GfbUU1CxcLHrW5Vt801JKsGnhYWy7/zsYqZy8mzKxo EtsDNGmqIH+90Ji3fb/xTzXjEIptKZKlDPiRNiPfAL92q50zT6Gx1BJCIEMeCcJAALBA tHK8eEC9jphUyziTgG3G9MkzBVouQFwmMmLlFCCsORaKMNOLgyxa29RJBjr9ghKAYDiI R0pBudQdkejp7lWMB7Xff0pk1lA2K93uD6cAXP0NnWoaffr9oQObOvVH4xr4ozHm6vbi EsTZ/PoNV0+mJSvxrRBU1fz1nkfRqQV53ENun1chc9fvgTUJIPIU5ruEYxHuAEWsZ07J EjwQ== X-Gm-Message-State: ALoCoQnv2DW6rKQAWhXS1VcyDOBZvypfBBpx4ebcO+tUDLTYRPRVZv/S8tC6P4DnIJbb9mla7x/I X-Received: by 10.180.182.115 with SMTP id ed19mr57195602wic.29.1401356872466; Thu, 29 May 2014 02:47:52 -0700 (PDT) Received: from xps13.localnet (108.26.90.92.rev.sfr.net. [92.90.26.108]) by mx.google.com with ESMTPSA id bj2sm1454286wib.3.2014.05.29.02.47.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 May 2014 02:47:51 -0700 (PDT) From: Thomas Monjalon To: Jijiang Liu Date: Thu, 29 May 2014 11:47:44 +0200 Message-ID: <2217199.ycNtOrpIe4@xps13> Organization: 6WIND User-Agent: KMail/4.13 (Linux/3.14.4-1-ARCH; KDE/4.13.0; x86_64; ; ) In-Reply-To: <1400827990-14324-1-git-send-email-jijiang.liu@intel.com> References: <1400827990-14324-1-git-send-email-jijiang.liu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2]xen:reserve memory at installing dom0_mm kernel module X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2014 09:47:42 -0000 > The patch changes the way of reserving memory in Dom0 driver. It will > reserve memory at installing rte_dom0_mm.ko kernel module instead of > requesting memory dynamically during DPDK application startup. Meanwhile, > now driver requests memory size of 4M once first, if it failed, and request > memory size of 2M once. The main reasons we do these changes as follows: > > First, to reduce the impact of inceasing in memory fragment after system run > a long time. Second, to reduce number of memory segment > > Signed-off-by: Jijiang Liu Acked-by: Thomas Monjalon Applied for version 1.7.0. Thanks -- Thomas