From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id F22F0A0C45; Thu, 16 Sep 2021 17:04:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BC8F34069E; Thu, 16 Sep 2021 17:04:30 +0200 (CEST) Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by mails.dpdk.org (Postfix) with ESMTP id E3E0B40151 for ; Thu, 16 Sep 2021 17:04:29 +0200 (CEST) Received: by mail-wm1-f49.google.com with SMTP id j134-20020a1c238c000000b0030b32367649so1248040wmj.3 for ; Thu, 16 Sep 2021 08:04:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=zJATAEFxa5IcVOR1Oi1ejlfvRLeaJkLCtoFYNAsPg6s=; b=G9jsO6OgeH0QGJk4Q7IZst6YFnjgHiHuJY7rhJcBseMh5H5CcPZqpwZdTsWowqez2v Mtnl8g5Jk6gZr+thZzT79aUf2m/7vq855ixxVnSnAeKDJ5+TRfggWDnCR0Oxi09KXoGc qmWIkWwBce1lFSaNsKM+gJ+BdzODOrMur0MRNYdM8L07zp/2IoLPxB0tDad2kXN2EEsT 9daDLKD6Cyyv2mt7IF6Svj/y7rMWUlkICjnbtTMpdJGsnPSDacIBXLmPvilub2mrAFRI Uoizc3H+lxFzRfxIeeOrz+vhr6Yk/G6oZTSL6oRiav5uFA3OMmKKkcekNZrYFZ3kHf2Q +q6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=zJATAEFxa5IcVOR1Oi1ejlfvRLeaJkLCtoFYNAsPg6s=; b=47CwYRjcEAY3BPqSfjx/SN5RWLD19xWMyB5u/sFu1Qvz/RCU73CUaIlPnDG2c9J+YK 6SchNsFySNsVq6ZgMhrv6mmRc1tWgvk07+v2ruy1HqO5AKYQiIXgqkTEQIC+/2sr34Nj 4XqUjWLoloQSXQyTokSGimSCJ7VwL2MTa3QWhGZVKi0nyVstqE4LeoO/e+3oBEPtM51A dq4ki8C9LKGB0w72pFGFfScYxH7johSjFcxplVl/DWTgy4bQcv2hAeuMpgthVZ5SBOfw Wwjo3ie5QJhDEnFk29xm9sAEfI09sS0ViqE6Xx5SR4gtcv8K3Cn0QXG72H+FbA1ubq1f TZ/g== X-Gm-Message-State: AOAM533MSCrTQEbq4dPx64qs28i+t/5vQqnYI2h1rhW68gMfAEedxATo f37mxQblnqp6WbKBjPXOg+SaaQ== X-Google-Smtp-Source: ABdhPJx4zW8/D803LZ6WoyYK2YNE8wk48vSw9+ibUb+ctjeHCLu7ONLuAQ7grNqqffnU5mHQFlWGMA== X-Received: by 2002:a7b:cd93:: with SMTP id y19mr5587676wmj.110.1631804669684; Thu, 16 Sep 2021 08:04:29 -0700 (PDT) Received: from 6wind.com ([2a01:e0a:5ac:6460:c065:401d:87eb:9b25]) by smtp.gmail.com with ESMTPSA id c23sm3420336wmb.37.2021.09.16.08.04.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Sep 2021 08:04:28 -0700 (PDT) Date: Thu, 16 Sep 2021 17:04:27 +0200 From: Olivier Matz To: Joyce Kong Cc: david.marchand@redhat.com, anatoly.burakov@intel.com, andrew.rybchenko@oktetlabs.ru, yipeng1.wang@intel.com, sameh.gobriel@intel.com, bruce.richardson@intel.com, vladimir.medvedkin@intel.com, konstantin.ananyev@intel.com, honnappa.nagarahalli@arm.com, ruifeng.wang@arm.com, dev@dpdk.org, nd@arm.com, stable@dpdk.org Message-ID: References: <20210728073322.27011-1-joyce.kong@arm.com> <20210823025740.11828-1-joyce.kong@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210823025740.11828-1-joyce.kong@arm.com> Subject: Re: [dpdk-dev] [PATCH v4] test/func_reentrancy: free memzones after creating test X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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 Sun, Aug 22, 2021 at 09:57:40PM -0500, Joyce Kong wrote: > Function reentrancy test limits maximum number of iterations > simultaneously, however it doesn't free the 'fr_test_once' > memzones after the fact, so introduce freeing 'fr_test_once' > in ring/mempool/hash/fbk/lpm_clean. > > Meanwhile, add the missing free for test case on main thread. > > Fixes: 104a92bd026f ("app: add reentrancy tests") > Fixes: 995eec619024 ("test: clean up memory for function reentrancy test") > Cc: stable@dpdk.org > > Signed-off-by: Joyce Kong > Reviewed-by: Ruifeng Wang > Reviewed-by: Feifei Wang Reviewed-by: Olivier Matz