From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 92599A053D; Fri, 17 Jul 2020 16:40:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A57D81BEE4; Fri, 17 Jul 2020 16:40:30 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id DB7781BEDD for ; Fri, 17 Jul 2020 16:40:28 +0200 (CEST) IronPort-SDR: kjLKxERoEIvJOcTj5/7YV7X9MEPMfXRkCjuZ+7xY0kOgTG1iJFEn1ynu4Elz9S8IkhpRmgiVR8 +EndcX1NU4Fg== X-IronPort-AV: E=McAfee;i="6000,8403,9684"; a="211136730" X-IronPort-AV: E=Sophos;i="5.75,362,1589266800"; d="scan'208";a="211136730" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jul 2020 07:40:27 -0700 IronPort-SDR: m4u737tzUte3+7JbJYkVFfGxF3nBylG93UZ/n8a8Hkwxkb3e99QbYcSFlTrDcFGUTVRpDoAY/W Ol47QpHN+mhA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,362,1589266800"; d="scan'208";a="286830366" Received: from aburakov-mobl.ger.corp.intel.com (HELO [10.213.226.225]) ([10.213.226.225]) by orsmga006.jf.intel.com with ESMTP; 17 Jul 2020 07:40:26 -0700 To: Sarosh Arif Cc: dev@dpdk.org References: <20200715133136.31986-1-sarosh.arif@emumba.com> From: "Burakov, Anatoly" Message-ID: <7378e729-bf93-4abd-9720-e24ee7162ffc@intel.com> Date: Fri, 17 Jul 2020 15:40:26 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200715133136.31986-1-sarosh.arif@emumba.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] lib/librte_eal/common/rte_malloc: remove redundant check for size and alignment X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 15-Jul-20 2:31 PM, Sarosh Arif wrote: > Since mallock_socket() always calls malloc_heap_alloc() and > this check is present inside malloc_heap_alloc() so there is > no need to place it in mallock_socket(). > > Signed-off-by: Sarosh Arif > --- Technically not a bug, so i don't think backporting this is necessary. Acked-by: Anatoly Burakov -- Thanks, Anatoly