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 87B6BA04BA; Mon, 5 Oct 2020 10:13:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 694391B76B; Mon, 5 Oct 2020 10:13:35 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id CF8801B67B for ; Mon, 5 Oct 2020 10:13:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1601885611; 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=xgeOkijfkhhSmPMv4n3JRTVMzDGc4JB+iiP+X9gB2BQ=; b=SpxdKw9YPxSJfrbZh2wN0rm4ZZtLgMUeL3qIBdansMk0AmtuLXyoFw0bI8ggA/xMaH+tRA Gkxp2urYTT29IdezhkwTzcMjPMZcYymrWszmGbcObRuI5iZyuNNHM2+r7hJuj9UlaS/wKx huU0A7bHCwlXmybu+hmWiRoWQaav32o= Received: from mail-vs1-f72.google.com (mail-vs1-f72.google.com [209.85.217.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-299-5caz_bIbOx-RNFB6U-KsSg-1; Mon, 05 Oct 2020 04:13:27 -0400 X-MC-Unique: 5caz_bIbOx-RNFB6U-KsSg-1 Received: by mail-vs1-f72.google.com with SMTP id s14so885691vsi.9 for ; Mon, 05 Oct 2020 01:13:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xgeOkijfkhhSmPMv4n3JRTVMzDGc4JB+iiP+X9gB2BQ=; b=gyqbnhksY7GibQl7PVKxFBz5DgGZUVihQlTyTZ7EVScBKS6LuXvDnTgkmDAGnhAUv8 fDsgqnJjf/ZDdHIPBxu1zM2agvPsTMJpX4KA/DcEsRc1RzdQFTffYWJqKvp/AFeWjB/I TsZxDqczd/pwqgkAoi3o0XOXuERxaR/PvnKbO8H3OfxusZLz/K+ve83n6DSWk5HOSV30 sJu9p4CrPmNfgEjn0EfOqQ/O13Vw2FMA7a4K88wigr6VNNPlV11VR6e8cOOJChEr52xR qDRq2gJ+Fi+eXyOs7bJR1Gbf3FXyS7Sj5ikhqIcCFlvHlE3Zrl9dDLAMP4PUKAu2hAgC B27g== X-Gm-Message-State: AOAM5331vrvM7tLUwEpQWf1jmFx6n+XUtqkyOxMWix1ZUv+XpvxFR6YY kjd4epIsfmOZ53Ce++8/nprSBJy9w9Gx0QSj1Y0hWGab/DdXNV/CnDBo5khjr7V2E5Ld1e/DGMj WvT4zg/+wGCojKxNUvfs= X-Received: by 2002:a67:fd44:: with SMTP id g4mr5887502vsr.18.1601885606984; Mon, 05 Oct 2020 01:13:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+Tcp9TwokZdmFJvQbsZuT/pUlZ4GvRY+lxhkTQwpuTSE/HJ6lDgOGVuVoSipvF+ixccsxbZcY9aR8ulwF76I= X-Received: by 2002:a67:fd44:: with SMTP id g4mr5887489vsr.18.1601885606793; Mon, 05 Oct 2020 01:13:26 -0700 (PDT) MIME-Version: 1.0 References: <20200614140034.E5CDC49E0@dpdk.org> <1599821862-27816-1-git-send-email-wangyunjian@huawei.com> In-Reply-To: <1599821862-27816-1-git-send-email-wangyunjian@huawei.com> From: David Marchand Date: Mon, 5 Oct 2020 10:13:16 +0200 Message-ID: To: wangyunjian Cc: dev , "Burakov, Anatoly" , "Yigit, Ferruh" , "Lilijun (Jerry)" , xudingke , dpdk stable 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 v2] vfio: fix mem leak when unmapping resource 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 Fri, Sep 11, 2020 at 12:58 PM wangyunjian wrote: > > From: Yunjian Wang > > The 'vfio_res' is not freed when unmapping resource by primary process. > This leads to memory leak. > > Fixes: ab53203e194b ("vfio: enable unmapping resource for secondary") > Cc: stable@dpdk.org > > Signed-off-by: Yunjian Wang Acked-by: Anatoly Burakov Applied, thanks. -- David Marchand