From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 243A58E86 for ; Thu, 12 Nov 2015 08:48:06 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga102.jf.intel.com with ESMTP; 11 Nov 2015 23:48:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,280,1444719600"; d="scan'208";a="683625809" Received: from irsmsx108.ger.corp.intel.com ([163.33.3.3]) by orsmga003.jf.intel.com with ESMTP; 11 Nov 2015 23:48:05 -0800 Received: from irsmsx111.ger.corp.intel.com (10.108.20.4) by IRSMSX108.ger.corp.intel.com (163.33.3.3) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 12 Nov 2015 07:48:03 +0000 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.23]) by irsmsx111.ger.corp.intel.com ([169.254.2.223]) with mapi id 14.03.0248.002; Thu, 12 Nov 2015 07:48:03 +0000 From: "De Lara Guarch, Pablo" To: "Tan, Jianfeng" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] mem: fix how to calculate space left in a hugetlbfs Thread-Index: AQHRHRpYTWG83k0670+QOjee2/3p8J6YAhXA Date: Thu, 12 Nov 2015 07:48:02 +0000 Message-ID: References: <1447287477-49292-1-git-send-email-jianfeng.tan@intel.com> In-Reply-To: <1447287477-49292-1-git-send-email-jianfeng.tan@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] mem: fix how to calculate space left in a hugetlbfs 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, 12 Nov 2015 07:48:07 -0000 Hi Jianfeng, > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jianfeng Tan > Sent: Thursday, November 12, 2015 12:18 AM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] mem: fix how to calculate space left in a > hugetlbfs >=20 > This patch enables calculating space left in a hugetlbfs. > There are three sources to get the information: 1. from > sysfs; 2. from option size specified when mount; 3. use > statfs. We should use the minimum one of these three sizes. >=20 > Signed-off-by: Jianfeng Tan You should reword the title of the patch, as this does not look like a fix.