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 A2A8495D7 for ; Mon, 20 Jun 2016 11:30:17 +0200 (CEST) Received: by mail-wm0-f54.google.com with SMTP id a66so69702739wme.0 for ; Mon, 20 Jun 2016 02:30:17 -0700 (PDT) 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=vqglN52/mxCDIsZgkQte04/fLi+yOpWhvSxpgFZqK4U=; b=lfQNMjE8Cu+A4qd/SShkeNTLg99yYUyjgU7oGy3A1aQbeD83GMa3mG9fA5H7Ouq7Co b7iHPxivcdUc/a/jZBOQHMn2YABeOAbcOTH8RDhGoFiYY53LfFdObGiOIV+zcYlYbq6O /o8BBqsbLJcH/P2eUUp3C9xRflS5pz9PgWMlBdayIXZNvgGYw0ReBhy4BhD7rTE61X5T y5aeJ9nJaR5hxRtscD9bPElO5mOq2ypP6YXRr9fBlRxtfAbBReMadnay3nTp/REChpQY Wymfh+xruWsE95zN/JKhkCcDi4j5rWlN7AutOlymGroGzzpn9HIZJ65H4H837Piw2wGZ Pz/g== 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=vqglN52/mxCDIsZgkQte04/fLi+yOpWhvSxpgFZqK4U=; b=eTs59M4lNZEz5k+rnBSjZ2dh8zmNBimEmD5FwLooHF4UYiQo8vDrq4LCSSulxTeXm7 kANw+gBflOF1mkDVWmkMZoELfxe2W1+e7/jFG8JPT8R/OdVT2yzyGWA4HblU5DdKEfUg gXqd5p5OIPj/QTdXfJOyyBLpWt+It6I9tIUwucfugkOUmuY+dcF3OYU0PqWovpaXRlCz r9z7tch5ScmvlSMtG5Hb/rzRca8UiszmLrFGfHubjxeX9VUSoQBdih3ChXfOV31A0hVN nrtvHqI2Lww7CBcAIuJvIyxqj5LknAWTNZShR/7Wp2y0QmkTc4pHWOPjAVA356mIdF9u UHBg== X-Gm-Message-State: ALyK8tL18OlKIagOwiYiLad6O/THrg5LEEfrt1CcbS1pmWG62AwfxKElEGMr+inGnglbxJtD X-Received: by 10.194.58.239 with SMTP id u15mr13339211wjq.73.1466415017454; Mon, 20 Jun 2016 02:30:17 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id u6sm62361749wjy.17.2016.06.20.02.30.16 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 20 Jun 2016 02:30:16 -0700 (PDT) From: Thomas Monjalon To: Marcin Kerlin Cc: dev@dpdk.org, david.marchand@6wind.com, sergio.gonzalez.monroy@intel.com Date: Mon, 20 Jun 2016 11:30:15 +0200 Message-ID: <1560373.Nvd1dFxqEv@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1466090040-14865-1-git-send-email-marcinx.kerlin@intel.com> References: <1465993510-13448-1-git-send-email-marcinx.kerlin@intel.com> <1466090040-14865-1-git-send-email-marcinx.kerlin@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v5 1/1] eal: fix resource leak of mapped memory 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: Mon, 20 Jun 2016 09:30:18 -0000 2016-06-16 17:14, Marcin Kerlin: > Patch fixes resource leak in rte_eal_hugepage_attach() where mapped files > were not freed back to the OS in case of failure. Patch uses the behavior > of Linux munmap: "It is not an error if the indicated range does not > contain any mapped pages". > > Coverity issue: 13295, 13296, 13303 > Fixes: af75078fece3 ("first public release") > > Signed-off-by: Marcin Kerlin > Acked-by: Sergio Gonzalez Monroy Applied, thanks