From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id 033073794 for ; Sat, 12 Nov 2016 22:07:38 +0100 (CET) Received: by mail-wm0-f54.google.com with SMTP id g23so35980335wme.1 for ; Sat, 12 Nov 2016 13:07:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=ywbSNFlApBKnFKVhT8Ri7JPFbgrP7HFIhjZwGHscJ+c=; b=HYkG7h+AGZLSer7lH5fxwM2RoZLrpwC/vI9KIB9uRwiz8+LZOI80hX5wMavJG3Hoxu Jb3zhc/tOwuJK36pbJPp+TkiXLSeFf59tVOmr2ndH/GPEkAjCHtlgMbR8NXEjr/XGm96 MdSNGjt8Q2B0CA7A4iBJXB1Hb8oYvhb27rzha2et2t7z5l31DjHlryRD1AxfJLW+qkw3 gMWn3rHYd0uRL166qLThDE2G79cggBsSwq8g/4r7NE+dcymO09VPZE9tl360bcPCL1aZ MZ/DY/xmHb90dMIjHOxo8SNwzgKBKRtVJXjBWRBDQl+aBoZVt8nMYKbq9WwHQ9hgd4pk E76Q== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=ywbSNFlApBKnFKVhT8Ri7JPFbgrP7HFIhjZwGHscJ+c=; b=jACF9j1EmZNSNx8uVqBi5auJAgUEcKa1G4i24gV+5NT28vuDP65zer9V5aMStfjuQj KRFg3yViwmuYyaGwtwhCu2gEDDk32mB9WuoDAIxlsdFQz/BQ8b2lsapNzV6EH0JcKK6b wyGtJs0fLnP9fFT0swFqIJDfbh4S7j3p5R9WIfdlAnXEEBtUEvAy7dTsoZu7bEOVYRaJ 2pvDN6qdEhqZWqpkbjEuHrxSRuvxBxQZJ3L3z0t3/3LiHANJTQ+Dutg1bSujHd08u4Ml pXLB6pk54wN2LkkTKMcl8gIAesE4+JRe7g8Gwlh0LYHbGdbaxVCSo7J83dK4EbhLBcXP 2F9Q== X-Gm-Message-State: ABUngvcmOj0lnqesE/ihzr7dL/EM541VcHqQXQpcsSINsiQ3V6fKWslzLueVAPcmsc49lt/z X-Received: by 10.28.216.65 with SMTP id p62mr3750701wmg.92.1478984858672; Sat, 12 Nov 2016 13:07:38 -0800 (PST) Received: from xps13.localnet (4.224.154.77.rev.sfr.net. [77.154.224.4]) by smtp.gmail.com with ESMTPSA id f76sm19632996wmd.15.2016.11.12.13.07.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 12 Nov 2016 13:07:38 -0800 (PST) From: Thomas Monjalon To: Nipun Gupta Cc: dev@dpdk.org, Olivier Matz , Hemant Agrawal Date: Sat, 12 Nov 2016 22:07:34 +0100 Message-ID: <3087963.oxZ7KTTnrQ@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: References: <1478875378-15398-1-git-send-email-hemant.agrawal@nxp.com> <1478879230-15729-1-git-send-email-hemant.agrawal@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] mempool: Free memzone if mempool populate phys fails 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: Sat, 12 Nov 2016 21:07:39 -0000 > > This patch fixes the issue of memzone not being freed incase the > > rte_mempool_populate_phys fails in the rte_mempool_populate_default > > > > This issue was identified when testing with OVS ~2.6 > > - configure the system with low memory (e.g. < 500 MB) > > - add bridge and dpdk interfaces > > - delete brigde > > - keep on repeating the above sequence. > > > > Fixes: d1d914ebbc25 ("mempool: allocate in several memory chunks by default") > > > > Signed-off-by: Nipun Gupta > > Acked-by: Olivier Matz Applied, thanks