From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 3F6FE1BACC for ; Thu, 10 May 2018 15:39:48 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 May 2018 06:39:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,385,1520924400"; d="scan'208";a="54770843" Received: from rhorton-mobl1.ger.corp.intel.com (HELO [163.33.230.88]) ([163.33.230.88]) by orsmga001.jf.intel.com with ESMTP; 10 May 2018 06:39:46 -0700 To: Anatoly Burakov , dev@dpdk.org References: <777ae6b10a7524e188c07ba14e576fc7b0e21018.1524729978.git.anatoly.burakov@intel.com> <4b216f45b6b8245ed96a08466ce0c7c43a05a7f1.1525366407.git.anatoly.burakov@intel.com> From: Remy Horton Organization: Intel Shannon Limited Message-ID: <65ce9afe-831a-e576-244c-90d1e31c6b9a@intel.com> Date: Thu, 10 May 2018 14:39:45 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <4b216f45b6b8245ed96a08466ce0c7c43a05a7f1.1525366407.git.anatoly.burakov@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v3 1/3] malloc: add biggest free IOVA-contiguous element to stats X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2018 13:39:48 -0000 Logic looks ok to me. On 03/05/2018 18:17, Anatoly Burakov wrote: > User might be interested to find out what is the biggest chunk of > IOVA-contiguous free space that can be allocated from malloc. Add > relevant malloc-internal functions and expose this through malloc > stats calculation call. > > Signed-off-by: Anatoly Burakov Acked-by: Remy Horton