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 3318BA0597; Thu, 9 Apr 2020 17:32:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3956A1C29F; Thu, 9 Apr 2020 17:32:06 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 212A61C29B for ; Thu, 9 Apr 2020 17:32:03 +0200 (CEST) IronPort-SDR: SSSyTNQYiWUJvWQmBUZRw02z8js5VXxxp0dPGPisRNd84yVbC9NhZdGB/fxD0ADxpaDWHXF4JZ pKmJIQhreYaA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Apr 2020 08:32:03 -0700 IronPort-SDR: Xm2zjHD6GA/BakW5GWrPm5tRRvwrEneZYwBZkdrDWyI0AYqeV2e1rJBhnMEwOMDnbGZmgFYNeH AIJChKR8fDhQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,363,1580803200"; d="scan'208";a="452035550" Received: from orsmsx106.amr.corp.intel.com ([10.22.225.133]) by fmsmga005.fm.intel.com with ESMTP; 09 Apr 2020 08:32:03 -0700 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX106.amr.corp.intel.com (10.22.225.133) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 9 Apr 2020 08:32:02 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 9 Apr 2020 08:32:02 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 9 Apr 2020 08:32:02 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.168) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 9 Apr 2020 08:32:02 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BOC+Rec5k3DiZ4aXMciMjpnR9W69dv8ItEU30ssuRM5aucjpX3GplVsSILpuqabSTZIb9yhY7z2019+dVCWNNH2dP2oKx6W4erZ6Se2v8Ec0fzOLO+Vr+sTW9WpzVJaK08MSRzxJV0wDVhhWE2wd+5JqHlXlsmdLr9Th7WynYdJegABD8d1AlL0/kcFXti886tDrwKzMWTsLh0CWcv7K4H6evnLtzPk+ZWPq+9+KzZuu41DDmw0OmmUWMXW341HVL3w9z8wNs0NKtOPECQERK/LMpc5qVbYWAYx3swYwicLUYG6PDdHQCnZ+dIT58XMdbsaXxZLoL7j9zeT0MtrOjA== 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=eAX20vU7rT+2COcTThIJMchTDAODVnAOhGMJVK9oLFQ=; b=SiLH/ENX7UxJ86UGKkH89EDoxl/+IASor7GklitwL+K0qWh1dLeomRMIzNxbh83S7t4k1tVLV80DdhNCgXt5VW3W3Zp2PPJz6O3w0OXDUd/aWMwT0X4BNgalIqGGRzA2r9FKGt64zpAS0UDvdZckBGixzARariUgWxTTiglKQNQLJgsvnrpV5zFNsNrnF0pMGWgBhSObovSwYwsR5ut6RtOpR7tvAqsXlM9FJME7OTL0Tm7FAcYvvO7J4bfF2wd2qPoFb/Qz0iibb/1d8uTBYVcjEb0OKhgsXqx9hCXuveBrSh0jRuNqOfLy2x6MrELelN40Ke7EaehpUqrPeQ1pCA== 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=eAX20vU7rT+2COcTThIJMchTDAODVnAOhGMJVK9oLFQ=; b=nhWRNTMsf+wyKkAtQzMbpvYeCeRNC9MXaDjMtij7XjHb4w4k1DraStlNlZ5Wb05UFNFWUYmkzXs3O29lsuZbYniVlDy+nc681wSwW+uj6KzOsietBiVLMkxsHHkvauPA7v5kUiXYY+Y4L1EAMXpTDOymGzTXyDkBKj6AlgByCMI= Received: from SN6PR11MB2558.namprd11.prod.outlook.com (2603:10b6:805:5d::19) by SN6PR11MB3309.namprd11.prod.outlook.com (2603:10b6:805:bd::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.15; Thu, 9 Apr 2020 15:31:59 +0000 Received: from SN6PR11MB2558.namprd11.prod.outlook.com ([fe80::3982:ee47:b95a:4ed4]) by SN6PR11MB2558.namprd11.prod.outlook.com ([fe80::3982:ee47:b95a:4ed4%3]) with mapi id 15.20.2900.015; Thu, 9 Apr 2020 15:31:59 +0000 From: "Ananyev, Konstantin" To: Martin Weiser , "Lu, Wenzhuo" , "Ye, Xiaolong" , "Zhu, TaoX" , "Yigit, Ferruh" CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] net/ixgbe: ixgbe_dev_link_update_share() leaks memory and memory mappings due to not cleaning up pthreads Thread-Index: AQHWDln8+xJ5L6GLckakp7097owntKhwseGAgAAHnoCAADGQEA== Date: Thu, 9 Apr 2020 15:31:58 +0000 Message-ID: References: <35d734a2-34c4-3cc8-6e3e-58a17a7bb9da@allegro-packets.com> <25ebe98d-071e-a80a-fa87-42385f4cd72b@allegro-packets.com> <76e82b41-3a76-6c6e-bb47-1f9e0809a153@allegro-packets.com> In-Reply-To: <76e82b41-3a76-6c6e-bb47-1f9e0809a153@allegro-packets.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: spf=none (sender IP is ) smtp.mailfrom=konstantin.ananyev@intel.com; x-originating-ip: [192.198.151.161] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2dd5f962-4773-4931-c9c7-08d7dc9b24b8 x-ms-traffictypediagnostic: SN6PR11MB3309: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-forefront-prvs: 0368E78B5B x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB2558.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10019020)(366004)(136003)(39860400002)(396003)(376002)(346002)(66946007)(66556008)(66446008)(316002)(71200400001)(86362001)(76116006)(66476007)(110136005)(64756008)(9686003)(6506007)(33656002)(7696005)(55016002)(81166007)(478600001)(81156014)(186003)(2906002)(5660300002)(8936002)(52536014)(26005)(6636002)(4326008)(8676002); DIR:OUT; SFP:1102; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 4/l8rFJ8WrECJzvDbHe1ah9SGHJ8U6MuRr791teZ73bO4XSvTfk8sk+Cj31w7HtvAbDLIcj58EikviKvtYgFsFEK0g6uA2I8rUOGHqGlJgy47xhTPvnLuHz2brfjYhr/xABp+aNsiFW435dMekLKS6EnPuJ3D0OtyC0JKuLsjhnwK5oP7R7OjMxbzgqbTnpQ4/U99vmQuBNML5fnjn7SJoyfrHb7HxJ3PvGvszJfXmNAulkJF+Dbik6YpBUK3jz8oW4zKv+zER7Rl/zQL2MCjirwO2rx/Jf+69Wmt0SwnDIfVaE5Ru7Ekd/VdD0oPVUuk3M1dqUEPWzUC5gG8Yd/H1BNS442HPNZdrjkNA4IE3WNPq3/vWAQnobplXZ/oc1ONncr2yMb3C4wMpf4zNGVmKrtIcPB3ol87uO5yJR49uz4JNZcChWr7PlbjsHdiMbe x-ms-exchange-antispam-messagedata: PAldJaSuxxkmIxNdhTCnC7fdn5VHKA5fZJdsqW47mgqX/BBQz+LwdK6eZ1RtxheIwQhakP8S30LZzCvIqlUuy08mwlEXwS74u6qd36EtXa09sckMv8t3OybyTwV4l42lFO/ngoY8F5T3iNRYE1XG0w== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 2dd5f962-4773-4931-c9c7-08d7dc9b24b8 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Apr 2020 15:31:58.8986 (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: Y2w1Y5hBI0rO1xSD97A7VnWzPsvQaDBqNsOMPor8H8sXlgIyFoa/JAV1FZcdigdNKfmiAAZVYoVdFmHo+ZHkMESlq5MGThmqoBQvX4azV8s= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3309 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] net/ixgbe: ixgbe_dev_link_update_share() leaks memory and memory mappings due to not cleaning up pthreads 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-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