From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <thomas@monjalon.net> Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id E11D51B207; Mon, 14 Jan 2019 15:22:59 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 775792C6E5; Mon, 14 Jan 2019 09:22:59 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 14 Jan 2019 09:22:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=dw12bpmU77Wg+xfAIGxii93/mJDQ5XSam8oRU+rSo5U=; b=MezQGfguglmv agRfEEyZ8thNK3CAThLOAveWoHRDPgCLL+qcLUr7yG44SkqNTBmO42mu/wBqLgLn p79d0dUj64vnbpvwBh/Wz7hzqozXGQyN4AlVbmniKX1f8DYnLMoBnsmQNOb4Ephm L7z75NHwnanS235exe6nJy3jNAAbxgc= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=dw12bpmU77Wg+xfAIGxii93/mJDQ5XSam8oRU+rSo 5U=; b=LK/LPy6jja4CbNAl2Bzy0MzyprkSsvaKY+/a2WAwb+O1DSO+KAx+fUM0Q kfpGxnoly1U8PIIzGV0K1ZdL+kkc68uFIFJmC3AOGr2W598W2hGcBy7/A2fWMrK+ grW3Ygoipu7j1vA5fAAgu1pDOx1txQgE3HJTM80zWfNezwiw+uAqx9JzoNZWDYuu B+KKoJhNpIcQRDNC4+RoHHuwrwfkP54lXbPzqcuoOMjZfrtUuLtrzdBFFmP8t9ow pE1Ba+G0aKF9FjHEqiS7EyNIdk1x8H69ZaGW5igPUgVCJbyKIHsMARfStI3csgjI weVbDHdbQQbkGGybOerptODcVkVEQ== X-ME-Sender: <xms:Qps8XGr_6-jvdzf1w1tOvxHGUOg_E02HlpQyxwaJIQUH1tz6H7MTmg> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrgedugdeifecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthenuceurghilhhouhhtmecufedt tdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkfgjfh gggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceo thhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukfhppeejjedrudefgedrvddtfe drudekgeenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvthenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: <xmx:Qps8XAOjvlubbXc4NUglFTbykt-NY4rVEScjqT3RWnplJjLLwg5Fbg> <xmx:Qps8XLO2XgUNDWZ1zuJ74l_BV6iVRbhOmtiAnr8h8LHc408Zxrb8Gw> <xmx:Qps8XK2PzQpNnSs8NkHzVBGM0KMEmkbjWpE_4taEcTpc6nycWO71nw> <xmx:Q5s8XIXI7tsovyHQhRRnBMVyIid76c0uZmF3m-pHPVjOD9fkPtDI3g> Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id D7F5A10106; Mon, 14 Jan 2019 09:22:57 -0500 (EST) From: Thomas Monjalon <thomas@monjalon.net> To: Anatoly Burakov <anatoly.burakov@intel.com> Cc: dev@dpdk.org, Bruce Richardson <bruce.richardson@intel.com>, stable@dpdk.org Date: Mon, 14 Jan 2019 15:22:56 +0100 Message-ID: <26237186.kTPCeHV27o@xps> In-Reply-To: <ed6e20b3f60e2927de4cb098ae8e50385081a7de.1547120005.git.anatoly.burakov@intel.com> References: <ed6e20b3f60e2927de4cb098ae8e50385081a7de.1547120005.git.anatoly.burakov@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] eal/bsdapp: don't clean up files at startup X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches <stable.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/stable>, <mailto:stable-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/stable/> List-Post: <mailto:stable@dpdk.org> List-Help: <mailto:stable-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/stable>, <mailto:stable-request@dpdk.org?subject=subscribe> X-List-Received-Date: Mon, 14 Jan 2019 14:23:00 -0000 10/01/2019 12:34, Anatoly Burakov: > On FreeBSD, closing the file descriptor drops the lock even if the > file descriptor was mmap'ed. This leads to the cleanup at the end > of EAL init to remove fbarray files that are still in use by the > process itself. > > However, instead of working around this issue, we can take advantage > of the fact that FreeBSD doesn't really create any per-process > files in the first place, so no cleanup is actually needed. > > Fixes: 0a529578f162 ("eal: clean up unused files on initialization") > Cc: stable@dpdk.org > > Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com> Applied, thanks