Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp720987ybp; Fri, 4 Oct 2019 04:01:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqwd/dtgTYbqXumSEmC5TgwVyQrX0VTE5neCLkiR5jUOgfSEpJ06Zw0lDSB1/ABI2pM9Pzk+ X-Received: by 2002:a17:906:3298:: with SMTP id 24mr11853632ejw.136.1570186918620; Fri, 04 Oct 2019 04:01:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1570186918; cv=pass; d=google.com; s=arc-20160816; b=N+e1h4429Jd2dJT0Ri6C0CJ1XGW3QzQAbKIbon0b/7iAkjq+ldKLPBl/A/yCdzItmd HuY5owuBNNHhn1kDQSfXWzzvq1fG8TkMYHyhlL0oxU72CVLOdXnkSxMu+2A1PpXzqbir 5oNGN2uJSo7SrkC2pM23AufoO7bHM5heB0n0JTNzMEvfti9RUMoHo9SGUXIM7MStpkZJ mdjDTKbqQNFQumxUe/oKtNnfddfnmOEhSyf7TrAX4nSJDZvKkrsjVfGs2ug4yjmbtgzA IQBv3ayKiJWCyc5ERmijdtxa3+0lY/7JuwvVVHnkwVTa82CuM/FfB3uH3AsX+M221rX3 4yKQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=XIDUk64bBmTO4CF2y9/4Rp2sTmvy3nM7qXu3ybiIBxg=; b=DInFae0ImFwpQMJ9vVQhNP5lkLCk7bEjQ90OeUWkWt7iWRyuTjkjfQptk6NSWFPY60 cWVd3FRZ4QF+tp6tE4q1IYIjdhcITpUmxlppOdb6xArrlkuQWl5zbFM/DJUtyihUa8F2 AECXImzD1QYV7qErYO1eRxqyKRRCo8sK/oiT9KLa6YD3CNfJqpwkwalcglEOrRJKD2y6 7CHbvLkIwUNY8RRl7t7ZxsxylRQiYckzCqEhqwDTVhZcYthSxO6AA0BHb+IPL0bLUPXR tSJAtp5Xs/ZBlqNdbhGCeWdBqsRGIIFWLD9a7D8OlHvpCO7Nx4ssqHNr5G6wdDqBX3W0 aLTg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=1cP7h0Ny; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t18si2726515ejr.205.2019.10.04.04.01.32; Fri, 04 Oct 2019 04:01:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=1cP7h0Ny; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729554AbfJDLAR (ORCPT + 99 others); Fri, 4 Oct 2019 07:00:17 -0400 Received: from mail-eopbgr700044.outbound.protection.outlook.com ([40.107.70.44]:34121 "EHLO NAM04-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725788AbfJDLAR (ORCPT ); Fri, 4 Oct 2019 07:00:17 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OmZJmdS3U4wWHFt+Rmyv+xvIK5uEvO/n4sTemfKO19tbnHva0OsdRYMm1SyNyTAe4oKzXKQ9CRN08X9A8daryJt2pat7ieiI6QvQXJOVfTLufP+H6IbENb2NKigDL6GWx7G3bBgdFwm/RWI1xBbu2nHwP5ux4bHm8WOVxxMI7K6f4jEwCfKX+dy0rVxwgIrSv7vYuusLBX3tAxfixprCIBY0+c80HF1vbNJNzpY1FR9SCeRP4eRA3LkB2L2On0+UMQ2ugyBVCJBSutGLAefpvESUqU6kNjpCcz7NBB4QSe7s1HlpyologjCgUYZMDIw+ZIWsa0lN5qU0oqeaXNzwNA== 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=XIDUk64bBmTO4CF2y9/4Rp2sTmvy3nM7qXu3ybiIBxg=; b=EFDBv1RmAHxYa3cMsTsB8IyM4lq9p/SFm+/nNVyOYlirqwhg1oqptt4BwCCONy7uWBlrfheU6YE3pi+OFnwWuTlyVc5GGlXAxuBsGK6emAkZPIacrHYmnTJO3t+6vzAG1y7Mi66sfk2a/luBlhkO0Tsxlr1dFDFSaLu/Fb/EALG9emvsE6XXbFEY2HeCKJ+vBPnCKj2L6Zo2MWywkgErLjclI9xoU57K+fP5zkoVA9U8ynYxVCdYfK7kfV+CYbPaVNVQHakEjvXEn8dwx80xOfCnRlDWE6/btC18fFmSNPd3QYb8YN6k8aCVF+GAfNbqg7CG8LuubsBgksKf12fx7A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XIDUk64bBmTO4CF2y9/4Rp2sTmvy3nM7qXu3ybiIBxg=; b=1cP7h0Ny7ozI1vKeO21ahSc4+Ndo72AT1ffHnfm8AEgBSiKstNFKFJwrccx1Wk49haMgvyEyZKk2dOTaYKRI/0dhq1eOGAbABUnXGxkVwUWfWuKQJYPeTAHsfFXMmnssLzx/Wz+oCqdGgZuth4QRAqleSG2v9Rm8E2IIxuFI+yY= Received: from DM5PR12MB2376.namprd12.prod.outlook.com (52.132.143.139) by DM5PR12MB1482.namprd12.prod.outlook.com (10.172.37.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.23; Fri, 4 Oct 2019 11:00:15 +0000 Received: from DM5PR12MB2376.namprd12.prod.outlook.com ([fe80::2941:f319:f890:beb0]) by DM5PR12MB2376.namprd12.prod.outlook.com ([fe80::2941:f319:f890:beb0%7]) with mapi id 15.20.2305.023; Fri, 4 Oct 2019 11:00:15 +0000 From: Nirmoy To: "Koenig, Christian" , Nirmoy Das , "Deucher, Alexander" CC: "airlied@linux.ie" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , "Das, Nirmoy" Subject: Re: [PATCH] drm/amdgpu: fix memory leak Thread-Topic: [PATCH] drm/amdgpu: fix memory leak Thread-Index: AQHVepz+LK3ooMYyA0KdAv//MbdaAadKTA0AgAAEf4A= Date: Fri, 4 Oct 2019 11:00:15 +0000 Message-ID: <32afa408-0968-2d1a-5add-593907636592@amd.com> References: <20191004101746.19574-1-nirmoy.das@amd.com> <62ea397d-2847-04d7-3c50-6292255845c5@amd.com> In-Reply-To: <62ea397d-2847-04d7-3c50-6292255845c5@amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM0PR06CA0077.eurprd06.prod.outlook.com (2603:10a6:208:fa::18) To DM5PR12MB2376.namprd12.prod.outlook.com (2603:10b6:4:b9::11) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Nirmoy.Das@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [2003:c5:8f2d:d200:7f12:8f2c:5192:3b71] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a5937b1a-503c-43cb-be5f-08d748ba0919 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: DM5PR12MB1482: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-forefront-prvs: 018093A9B5 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(396003)(39860400002)(366004)(376002)(136003)(346002)(199004)(189003)(2906002)(8676002)(81166006)(14444005)(256004)(4326008)(229853002)(6246003)(31686004)(81156014)(66556008)(64756008)(6116002)(71190400001)(71200400001)(66476007)(66446008)(66946007)(6486002)(6512007)(8936002)(476003)(53546011)(386003)(6506007)(46003)(36756003)(102836004)(76176011)(316002)(25786009)(2616005)(6436002)(6636002)(11346002)(446003)(486006)(186003)(5660300002)(305945005)(7736002)(110136005)(478600001)(99286004)(54906003)(31696002)(52116002)(14454004);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB1482;H:DM5PR12MB2376.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ANQjP2xaMIydWjbyZboAknIoe3QmGnmPnZC4Obk2abW5wYqr32sQkgf3W7zxSALePrJi/BgkeiUIsuqM+xAiqiBQ/V1ZyEsJS97P6n2Usx01mIP7ZUDMblc65rBvi7LI1DzjrRJmx+vOxSkLNZ4CNfZx7Yvn3vd/g9IqsqfyN7YX0e87QVL1OFy+/0Vbw++gZPk5bp/JgHDPKaA2z6w8q7o4QqeiMUw1AJ3wGLq1DEATdfrx4lYa3TKGRCfg389NpDBpKVZLKu1uxx35wvsXPzfme1S9TL3d0V72798SA9zoIp2cKM3E5gjKkphjBoAbHSCluCDHfyWLdFttjdOAepZ5kN15i9coCJIi5KuPGyxVboOshueQGxu2Z60ldhTCsZAzyFEEAO8kGV5O7uWKX5NC+s1vcuEe1ZOgb8lKJu4= Content-Type: text/plain; charset="utf-8" Content-ID: <2B5F8723BA822A4BA678D07A44512CD0@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: a5937b1a-503c-43cb-be5f-08d748ba0919 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Oct 2019 11:00:15.1952 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: DlRKd78c3eq5ptEGSG9mq73Ip3dLBXQXNXVah8yadat4TVH4yT539FhiXzL2/NXJ7as4uDfTWYxFxMSN3utWfg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1482 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQpPbiAxMC80LzE5IDEyOjQ0IFBNLCBLb2VuaWcsIENocmlzdGlhbiB3cm90ZToNCj4gRmlyc3Qg b2YgYWxsIHBsZWFzZSBzZW5kIG1haWxzIHJlZ2FyZGluZyBhbWRncHUgdG8gdGhlIGFtZC1nZngg bWFpbGluZw0KPiBsaXN0IGFuZCBub3QgbGttbC9kcmktZGV2ZWwuDQpPa2F5Lg0KPiBBbSAwNC4x MC4xOSB1bSAxMjoxNyBzY2hyaWViIE5pcm1veSBEYXM6DQo+PiBJbiBhbWRncHVfYm9fbGlzdF9p b2N0bCB3aGVuIGlkcl9hbGxvYyBmYWlscw0KPj4gZG9uJ3QgcmV0dXJuIHdpdGhvdXQgZnJlZWlu ZyBibyBs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