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 BD006A0C46 for ; Thu, 16 Sep 2021 17:04:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A87A241104; Thu, 16 Sep 2021 17:04:31 +0200 (CEST) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by mails.dpdk.org (Postfix) with ESMTP id EBFB24069E for ; Thu, 16 Sep 2021 17:04:29 +0200 (CEST) Received: by mail-wm1-f43.google.com with SMTP id 192-20020a1c04c9000000b002f7a4ab0a49so5975857wme.0 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=x3noCGAt9+jRO7A7YVO+PxkhdKiwwRiLm56cFsBC+UeF1UVc2ue8Z63eq0cz3alV6y vF0th4aUCZmiPiLpScIBcUzPnLQ1dNNfehtuKJ8CnunFQVc+kFHc3TIcWglXhEgmEyuD Z3K4hHUu4m1e4FB6p9W3iJhHcSl1fxCOXWhjVWa/Cy50XF1gHB4OGIRU6/tPGivCwGwU prJcOYsLm/ZBwKslLfO9C4sDv9QyC07Xjf2PX8Gs7DJc9DarCj9beDpAnet5o2wS9Lb/ HRHd/TVKExsmU6wfeaQ0ewLXnn1pmzoMYydE8V4Xnggpm7SHAbot4p/d9cDTuF+THf8x q0Lw== X-Gm-Message-State: AOAM530Ys/eQ5T1vjv13HGjsyK7e1m/FgKaeXWx/EklSgi4nXKsVdf89 QlAJoc69tAmqyzRbGWJGwlrZXA== 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-stable] [PATCH v4] test/func_reentrancy: free memzones after creating test X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 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