From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <stable-bounces@dpdk.org> Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8D7534318F for <public@inbox.dpdk.org>; Tue, 17 Oct 2023 21:52:31 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8218242DF1; Tue, 17 Oct 2023 21:52:31 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id 84B6B40042; Tue, 17 Oct 2023 21:52:28 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.nyi.internal (Postfix) with ESMTP id 34C475C031E; Tue, 17 Oct 2023 15:52:28 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Tue, 17 Oct 2023 15:52:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1697572348; x=1697658748; bh=tjiDjQdH3cq77z5pgo/j32+QeiYEHoo+Wcq ITEjQMeE=; b=Ts5YFwN2yD+xKkcwa0nON6fkuvrsBLDQZwFBH62ACHXcuv+rPFV 9p9b3WqvCpzAB8WdVUZpGZbaIhpS81wNuz7ixo0X6TnMyCtbJ5/4nD4GMQ2YUPnx bQOcADVrvONqfwtpgMC+NpzpziMC5cQombPOJ0yrPjBiXSLcT6KJRAMqPZaq2eKO jKIVVKSgVdPc9nwjt3kGanBE1QGhkndqTtqTfu+t6K2E0e9Xpm8OItaX2CJmanGd GcE7fdgYwvOEWRj7ZpkVnHjQt1RjEMTZ1b5Rb8L0ESymIWHCqPMyEq4sG+LAVvvL zlEyBB47Qpf2ocZ7s66zx/6agoedOrNsJlQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1697572348; x=1697658748; bh=tjiDjQdH3cq77z5pgo/j32+QeiYEHoo+Wcq ITEjQMeE=; b=c8vDLQqgaH6ie3wYGxQfLe1mzcb40zp8jLzQ6jxB4x2OMiOtmwY A4oAffDBMicYYAUm7nCghQGzplwT8ZvhwaRb1HpyK/49oiRyoks6mUahMqGT2fGw 2/TWWS6WBV4ORADN2MmzVicUTAyRTt1F9CrOCuE74EzH/6USE3Th4sNPxsCjEu01 /NRCHxREnPGgyFHGeqkC/mauq5w+iyuZ3WWz0DwTZZcV2Ft5g7bfCoX6IB0YquMy 7+lJwL/HT858mQa6KTe7jbRoBITYwGjNr2+MxgNACgibWKZcfwaMpnXDhF7fOrZk e2aMhgT8aa9In5BckEJLbg0QNtyEVdHV5IQ== X-ME-Sender: <xms:--UuZanyMiOFgv3fPHm7YX5EyrEY5tgRJYNcbKGp1EMjMcjEe_nM7Q> <xme:--UuZR1Ed0zaD26nIAKtip7sSBTo9kCkxBMv4AD2asGMS5QtdVITHrTScsz4s3K_6 MwZIVDRvTljYm7oww> X-ME-Received: <xmr:--UuZYpmFp7CFs_IZHxh-E4vcDuYMeclxoKkr3q8xsqrIoD9YQzA2O8wqolfHADWI5PMnCcu4IIpLck-CfzmpJ9T1w> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrjedvgddufeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedtjeeiieefhedtfffgvdelteeufeefheeujefgueetfedttdei kefgkeduhedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: <xmx:--UuZekQxeccWPlK9erfr_u-Is55-tHMmVVYoPEgie7YiankLmPmhg> <xmx:--UuZY1NKZ3EGKFprgjKO9PiuNgrLADXUrsvHsFZx-k-W8akrh3-YQ> <xmx:--UuZVtPJUvQJInjP4VPMI-mmgMZvJfN1d9gjpHuCH__5RrebQqI1w> <xmx:_OUuZWCfqW5naSYhfOL4G6vEoHnCqlpBZg_-QboOi0OMPbpcRtxkIg> Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 17 Oct 2023 15:52:26 -0400 (EDT) From: Thomas Monjalon <thomas@monjalon.net> To: Stephen Hemminger <stephen@networkplumber.org> Cc: dev@dpdk.org, fengchengwen <fengchengwen@huawei.com>, stable@dpdk.org Subject: Re: [PATCH] app/proc-info: remove unnecessary rte_malloc Date: Tue, 17 Oct 2023 21:52:25 +0200 Message-ID: <1900607.GKX7oQKdZx@thomas> In-Reply-To: <8f9434ba-388b-539e-560c-64bf71c7d873@huawei.com> References: <20230807204310.117986-1-stephen@networkplumber.org> <8f9434ba-388b-539e-560c-64bf71c7d873@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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> Errors-To: stable-bounces@dpdk.org 08/08/2023 03:11, fengchengwen: > On 2023/8/8 4:43, Stephen Hemminger wrote: > > Better to use malloc() which is faster and has more error > > checking, as is done already for statistics. > > > > Fixes: 077c546704da ("app/proc_info: add metrics displaying") > > Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> > Acked-by: Chengwen Feng <fengchengwen@huawei.com> Adding Cc: stable@dpdk.org Applied, thanks.