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 B5392A0C45; Thu, 16 Sep 2021 17:09:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 36B394069E; Thu, 16 Sep 2021 17:09:34 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id DDACA40151 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-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-290-n51VSOkdNJijsrF9b651pA-1; Thu, 16 Sep 2021 11:09:28 -0400 X-MC-Unique: n51VSOkdNJijsrF9b651pA-1 Received: by mail-lf1-f71.google.com with SMTP id bu42-20020a05651216aa00b003f69fb173a2so4180969lfb.13 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=aQXD0eKRqtJIkNzcT0d8WGQm+ts5ct7zcoQIqvKUqIMvTPc2G3x9PvbfnMrfTepq0N A42WHjFqRN+iWiJX2LCX3+bD2mhsJ9PFGTkz7D/HjZHfIEkGZiVA3LbNhyXm14Fcr2KP YfN2yFyVzwGBkrHbQB/FG4P7G3qjjXh46B0lIEiIYIb5oLjQ4C7wschN278WmRwz+EWc ckRbpFWFckz5mKowwjTJVNqGk0id+yfF7VpMNuOV5hF76TdmKQuoNJ8rIm1zzSR8tCa3 tGoqBuj7hyEa6komq8JBFqN213EOlDsJWYzDjV/49btMEZf3q8aYWCstQBKrhNc4MRJs 5T/w== X-Gm-Message-State: AOAM532ofdKjZZFp7rbHvCyDQjCYYAHI/K6Aespeo78TsEPIlMCHDq4R ovMmpIpS2aeTzLn3GNyHjyJHGhMPL+vHw8AYhty1LcqXzvtVq1qROUn5KkrhcKKUXjHJ6IgZCCs sL+fziQcxRja/8S6l9SQ= X-Received: by 2002:a05:6512:3095:: with SMTP id z21mr4386131lfd.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-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 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