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 B4DD6A0526; Tue, 21 Jul 2020 05:19:02 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 85B881BFEC; Tue, 21 Jul 2020 05:19:02 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id B6BFF1BFE9 for ; Tue, 21 Jul 2020 05:19:00 +0200 (CEST) IronPort-SDR: xSBDaURaw1y9hTtRS19OmojrQC7IF0J8IB1HVExnd//rMLsydBoKQrZ0V0USbjVnhN/VqmJ7QN xgUSvcY+B3yQ== X-IronPort-AV: E=McAfee;i="6000,8403,9688"; a="214718529" X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="214718529" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jul 2020 20:18:59 -0700 IronPort-SDR: fLc8HbVQjwtqc14fNd+Jz7csFuEeKBzl6r3VX86W17YVcyrPJhQzXeTJUrcu2VOiA5uDR4tqbU T8pt6LCQfN5Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,377,1589266800"; d="scan'208";a="319755044" Received: from orsmsx105.amr.corp.intel.com ([10.22.225.132]) by fmsmga002.fm.intel.com with ESMTP; 20 Jul 2020 20:18:59 -0700 Received: from orsmsx158.amr.corp.intel.com (10.22.240.20) by ORSMSX105.amr.corp.intel.com (10.22.225.132) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 20 Jul 2020 20:18:58 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by ORSMSX158.amr.corp.intel.com (10.22.240.20) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 20 Jul 2020 20:18:58 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.176) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 20 Jul 2020 20:18:58 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=amRZx8AyKMLAih5/DS4ctC9GKdqtiY6MZ43tYyuxxj64mofdrYRlbdUjMG/haFN923z0lhxaQh0sNorVodGTuTgUJXRzt7im0r3Au8gWDIpqAAvM1TTyDxwtEuvNkhf/phBoF1FQABQPbH3gZqQm+Hc9lhN5WI16+TRtczaDqqQ1L1Sc193xjOwG10PUOmVf0DgiB/pk4fwxMqeAqE5KkNw7FwoTeyj4+qSzNE/8LAc4VzOTrx3XvzG7OjsaOrG+tdUrY86fEBjAmIoAjgoERaH4wO7Df+eVCcsvOQMjtQwheHh85B6l+4aotherGw+49YZa9UL+jAM2bN2K0me9KQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wsm3VytQG0qmc3uGwZorICjNRSyPZeExPe3Ds8ipZnw=; b=n+myQHtPh/JOodoufDqE2Km2p42+1MAlOIo2edMR+jxyO46HE+xV+Uv9cDXLlZPxVUSPr+7+pbrrFh9/sBTI7RudmeGt2qmR39fRPY3/2DQJ6fGUGQSwMOTNTYpQ51sw26Z4f3PPzz63HbWNecAjfVC3gspijj+AXsycj19/tdzLO78Pz1XAeNgErNTq3CG1UpWOBw9Mk4AC/nniNKqouhRAvkzCMOHPC6zAe97SaucITdT5zPBnOiqAbSQIuC8eeVaVxcENidXUVWZNGahfub4UnoD3nrmxFq7HC78hmou2uFUlUEr/LDazw0EBiQzm/+8FzJHJ4r7SRsFPzl4AiQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wsm3VytQG0qmc3uGwZorICjNRSyPZeExPe3Ds8ipZnw=; b=Iz0Gyw00kT3F5me/pgO36Dlujo/JR6ujo7WexqACmHH3vLMlHz74tyNI3EDcu3I1BY6/Y/9cD4tuDotMMB04LE9swPH3HFudYreeIJeU7ATuiEF2CeoxqkHTtuc6x5Ey1oYb9R+itvB9U+piNohtMVIfz5yJpei3JmaRXE2259o= Received: from MN2PR11MB3744.namprd11.prod.outlook.com (2603:10b6:208:f5::18) by MN2PR11MB3886.namprd11.prod.outlook.com (2603:10b6:208:137::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.25; Tue, 21 Jul 2020 03:18:57 +0000 Received: from MN2PR11MB3744.namprd11.prod.outlook.com ([fe80::194c:ebf1:5b43:d2cb]) by MN2PR11MB3744.namprd11.prod.outlook.com ([fe80::194c:ebf1:5b43:d2cb%5]) with mapi id 15.20.3195.025; Tue, 21 Jul 2020 03:18:56 +0000 From: "Fu, Patrick" To: Maxime Coquelin , "dev@dpdk.org" , "Xia, Chenbo" CC: "Wang, Yinan" Thread-Topic: [PATCH v1] vhost: set zmbufs to NULL when freed Thread-Index: AQHWWnZtK9BV4QF/O0Ce87JPeGpAoakQpm8AgAC/1yA= Date: Tue, 21 Jul 2020 03:18:56 +0000 Message-ID: References: <20200715155848.9501-1-patrick.fu@intel.com> <75dbcd56-26e8-93e9-d65a-1377d32b9ffe@redhat.com> In-Reply-To: <75dbcd56-26e8-93e9-d65a-1377d32b9ffe@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.200] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2ae00f8c-f6f5-4796-8469-08d82d24cdee x-ms-traffictypediagnostic: MN2PR11MB3886: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:1388; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 03tKKee042lEGfsESOGoIGxigw87HdgNqYPP42f3f2EnIeT0dmQkvqN4gFDZBscxw7drRFzTbAjZ1IR5bGzOR9DBaXLW16wKv8uh7iCH8XO6y9iHK+1xKAkQlPdqYOIEu/pnfl4FIZ3vvRYFkT+/roDGOsYB+CCKr4Gcpu8lyQf0fxWEhE11ERNrmBjrytzt2ygdcC9bSu2oQVVJG8G3hfGTcq8cAMbd4kMZMmclZn2qHIrVwETHjIF0DlyAtYm5saZUEW54BBZW56TkPq0zMsYv5r+j0WZaF7Qd25Xber1cL1leyWErc9l4ySbT4341N0n4n+MEFN4hKGjvUIvQMA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB3744.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(366004)(346002)(376002)(396003)(39860400002)(136003)(71200400001)(6636002)(110136005)(55016002)(83380400001)(107886003)(2906002)(52536014)(9686003)(33656002)(4326008)(478600001)(66446008)(8676002)(64756008)(53546011)(316002)(5660300002)(66476007)(66946007)(26005)(76116006)(66556008)(86362001)(7696005)(186003)(6506007)(8936002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: 68HU4vSysyAIJBIxepVSSJp2Ox5dWpsepPvg2MXtZvqj/9Tb5QViogvri/J2HzUPsWdkGrV9Qf/qg1HEduAYEmfwP5xgsNqqhe1260LuNFBNBNr6/alTEfSXgw1WurAQd5UmlFxQZ/Cir9MLU95NjuB1Bh/Jt5dD5jgOK/M+o1HVLD3SyBPcblwCvidZI84vWnyZ56iNKboQWgEgHV+hYPHVP/YaJm3EF3oM6f+mwBMI1SsTt30tyNQEuWgw/bmQcw/kj91ovpilzx0FGFvRXSZhD7FF55AA8SUTq/XgmQp9Qo4r3BZzNXo7wlv53B8SCXT2IhqUioefF7+arsj9k6roEgxLQKhz5+U8hbtvPoykcw5dsqcvXn1k0PthCkIrYE3t0X2P3/p5qy+VYbMNNG7U80nnprSVhdw4bqdUZ/iIjdVGb2Ofk0jCfFoK6ZPTnsn0XL/bW2H/SVFZnYF5or/1hdJJTOyv9Ngw9jPrIUWPk5A6E34pFqmhMb41KR0X Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB3744.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2ae00f8c-f6f5-4796-8469-08d82d24cdee X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jul 2020 03:18:56.8879 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: xRrl2EJMAoyQFxV2WY/aT3d57PHKtH+IbBNF4KU5HfpK2/ZMHLkbp0nqs/AxlUMpszwrOGtMfWBqBeqQ8W0XPA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3886 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v1] vhost: set zmbufs to NULL when freed 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-b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