From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olivier MATZ Subject: Re: [PATCH v4] mempool: reduce rte_mempool structure size Date: Mon, 15 Feb 2016 10:20:23 +0100 Message-ID: <56C19857.4050809@6wind.com> References: <1455039006-86816-1-git-send-email-keith.wiles@intel.com> <1455302184-48822-1-git-send-email-keith.wiles@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit To: Keith Wiles , dev@dpdk.org Return-path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 659BC9612 for ; Mon, 15 Feb 2016 10:20:33 +0100 (CET) In-Reply-To: <1455302184-48822-1-git-send-email-keith.wiles@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 02/12/2016 07:36 PM, Keith Wiles wrote: > The rte_mempool structure is changed, which will cause an ABI change > for this structure. Providing backward compat is not reasonable > here as this structure is used in multiple defines/inlines. > > Allow mempool cache support to be dynamic depending on if the > mempool being created needs cache support. Saves about 1.5M of > memory used by the rte_mempool structure. > > Allocating small mempools which do not require cache can consume > larges amounts of memory if you have a number of these mempools. > > Change to be effective in release 16.07. > > Signed-off-by: Keith Wiles Acked-by: Olivier Matz (for 16.07)