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 3F7C1A0C46 for ; Thu, 16 Sep 2021 17:09:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2EC0A41109; Thu, 16 Sep 2021 17:09:35 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id E065F4069E for ; Thu, 16 Sep 2021 17:09:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1631804971; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2SkCoFtF66deW9KVxweAqF71tKiaOCnSsEI5Nt0P4yo=; b=d8Rwi1iphJCvo4Obui0vWl1iX+KmwGF1RFpHZ+CdqaFY/+yuWZErBaQJQ0vblOnQUDxD3S JggElS0JRi0qlkyDVGoS+kA3NyaYStbkWiFqmi1ZxpHCsKfsOMid3QAxQ0iYbvRfnntW2C sTSRVHRNFjoFESvHhcjoEnGFzJvVWGw= Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-417-c3lnHv-jNaCjZrNfIlBKZA-1; Thu, 16 Sep 2021 11:09:28 -0400 X-MC-Unique: c3lnHv-jNaCjZrNfIlBKZA-1 Received: by mail-lf1-f70.google.com with SMTP id i40-20020a0565123e2800b003f53da59009so4189989lfv.16 for ; Thu, 16 Sep 2021 08:09:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2SkCoFtF66deW9KVxweAqF71tKiaOCnSsEI5Nt0P4yo=; b=uSc6rMK46TFRFHhW4AM/EiHdK2CYGqQY5YSgmS2iqSmJuU6kSNU0r6UixS34NnekQK ZsbOBaNoRcM1SneAIE5d+98ytdfvUcl/erOIuO9y0qlOOiGVd+TTa0fhmwERl/Zz9DME 3o73YSstgUTkmo1OtfxLwvPMr2D/hms5f2uo0hbBFI2HKbYwoLRt1y54d6ObR8UcTXP8 Z8UPlSN+fDL3Yzmb/3vkgpRp6oDcG2srt2Nx3m19a4wKHXpqY7R7d6WacXU9KEmCBWXq LxPhZjo29uoopnxmjzD8SCSU/9xjSfNlVv8h8L/kpczDDbxdYfaCOTItVFvZJyvw5gUF uOIw== X-Gm-Message-State: AOAM532H0r7PCFKMZCN52tpSoUb3Yv0lkxdmTq4tmiwUry824fmymzBb EQBlzqjP2546F8PajZrXFCVQdv+kycTtK36CsONSCqtdNm7cS/oZ1G7nGBdDXKePUyEObth4MBD qWxRwlOi/66Deqk8Iaq9JQ5c= X-Received: by 2002:a05:6512:3095:: with SMTP id z21mr4386133lfd.265.1631804966815; Thu, 16 Sep 2021 08:09:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5+G111cFXfmOasewwpzRKMVxIm6tE8hi0dbKWnHcgsvJpozZ1k10cjxXMDpKV2zXgqZKdlthtyCE9s/uuhn0= X-Received: by 2002:a05:6512:3095:: with SMTP id z21mr4386071lfd.265.1631804965940; Thu, 16 Sep 2021 08:09:25 -0700 (PDT) MIME-Version: 1.0 References: <20210728073322.27011-1-joyce.kong@arm.com> <20210823025740.11828-1-joyce.kong@arm.com> In-Reply-To: From: David Marchand Date: Thu, 16 Sep 2021 17:09:14 +0200 Message-ID: To: Joyce Kong Cc: Olivier Matz , "Burakov, Anatoly" , Andrew Rybchenko , "Wang, Yipeng1" , "Gobriel, Sameh" , Bruce Richardson , Vladimir Medvedkin , "Ananyev, Konstantin" , Honnappa Nagarahalli , "Ruifeng Wang (Arm Technology China)" , dev , nd , dpdk stable , Aaron Conole Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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 Thu, Sep 16, 2021 at 5:04 PM Olivier Matz wrote: > > 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 Acked-by: David Marchand Applied, thanks. -- David Marchand