Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp781134ybp; Fri, 4 Oct 2019 05:00:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqwwTq3qRaHYyV5uJx0al/5eARh49oxSUgs7Mxh+i40Zh63VXvBh5NYQvqQYwe2ZFf1I6v3p X-Received: by 2002:a50:d096:: with SMTP id v22mr14811460edd.81.1570190458025; Fri, 04 Oct 2019 05:00:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1570190458; cv=pass; d=google.com; s=arc-20160816; b=wVen6Nb+4qHJCOdYVPDUhxKmzE4nJheXdvxNLhqY9IrP4NI7UQmHu4JkM19tH3Jz2o jlADu8oNw4dwDp1ah0jTQ8X7RH+496tK/LhpfFHvfR/YTXglZHXiECl1XDD0CUDdBbPC dSJD7CMflbO5POJD5BXgnP9zow6C90uHtDmnyyCZSGHC/ISrZ6GXkl5kO+fFIp2Li43q GvcocC+7I/rHngVslPBYoZ+AXX2w4xTQPmxw6jLXRjwfOR4gKufL5qgPG92e81PYvvK7 IRcxCRhSrQ2gOp/iAcwUj8eUFphGzq2x38EohJ7N0SA3mjkrn6NPXVssTwygC4EcC4m9 Hawg== 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:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=1a1EGyP2WROcVB1PHYvXO2ZYy6lUqYedWiWN9z0cWcI=; b=rEa1SZdlmgtey/poNUrnfpn8amYnXCn6DnvYn1WmUlizRXwMnCwNGaU9t7dTAl4CIP VE45qY80AvWBy5z3lI33WGPMuY3b81G32juhaKvIo/ohwQihnQe8lKS4Yr0QG8P6SDdk dVwu52L96FWF6U0bRNqPE0NSK2CFoPg/hZBgGBpkbCXED9Sh6xO2Q52dW1v+yJo+agqI CHH4/Z9+vaJQelSiKk0TeOmONW3PQ2OC4GhT8OhDAiIwfGZE7fFJF7CJ+EWwlZxO+itT roLNtrRObLv8YVkLgQV+KciFB+qs4lInmY8ejpJ+3thfdWiWzQIvibXmYiwzzG/WCKF7 k7RA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=UuscOR3j; 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 a14si3784073eda.111.2019.10.04.05.00.32; Fri, 04 Oct 2019 05:00: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=UuscOR3j; 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 S1729147AbfJDLOM (ORCPT + 99 others); Fri, 4 Oct 2019 07:14:12 -0400 Received: from mail-eopbgr690079.outbound.protection.outlook.com ([40.107.69.79]:64283 "EHLO NAM04-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725788AbfJDLOM (ORCPT ); Fri, 4 Oct 2019 07:14:12 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dRXvBXHaFNBSniJnmug0SFRZimonVdbpKzOt+a+k7cgj0Vaasw8CjN1z1llIvuDBoU82AOFHg7GIZzT7w7IlNZImF3FZ5pgJXHClnthbFWsABLomVbe7KBwJztyTU8iFf9vtYxIURLgkikUemTWLmE0pEUohBZNpquzXH3/3TYZ8EQZXwZtPPl5OVVs57qfhZ0rakxc/tJ/tNSlMmt0iQjRHMbwKZh+B7hAzbIXIhf5TmME3AuPpfZr8dWatP8NH64rW+jBvUt94t10ywk7FgYRqEOODv/w3//K/GdIiqMYPtkwLovwRT2FFWiMj2YEmH4H5EpOL8ooZVc49aJ+mAQ== 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=1a1EGyP2WROcVB1PHYvXO2ZYy6lUqYedWiWN9z0cWcI=; b=QRB3w9pYZ8hGGTm3Qf6GhMAx/sTzOfaXsvDfOPGmjhenTaLtbiZi67E8rPcwdDbeonUfiyy6kXjBnv6wRpgakN0cMSSHiOk7uO+/7ppxSW0m1EfblLKcKQW+IPPBKqfiaxCLSZpRnwjWA0oJafGe1ENpuQYprb4YMuzw9mMeuHrSv0x61jCZ8wvskgf1YlyvLcAfXpcgRgx0mOlDR3oG+EYUhS3rl7TX+L49gsgqZDpWLwQvMX14x82Gv89fInRGCQ4QunAhJ7Knl7UM5SlRlqTRkUNWj3YSoZUWWayPWpbs8v6WY5auXeW52YqLQUj5dPMMCjbvanaebxLke+DVVA== 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=1a1EGyP2WROcVB1PHYvXO2ZYy6lUqYedWiWN9z0cWcI=; b=UuscOR3jdLKbv3PSU+FVpgZYnf6sfEL6KYokAdau8tMd6nQ01uPSqg1RbkSlxAMad0dpSNzRC3/vw3YoRylcacOrjzoa4A4ZAWEf4RE+PaGHm4aU9F2FRCJ4Eb8wjKF3Xeg3OpWdTH7sUQ1KWv2kfLnXyJQ7J+FKpOsNVxuUEEs= Received: from DM5PR12MB1705.namprd12.prod.outlook.com (10.175.88.22) by DM5PR12MB1770.namprd12.prod.outlook.com (10.175.86.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2327.23; Fri, 4 Oct 2019 11:13:29 +0000 Received: from DM5PR12MB1705.namprd12.prod.outlook.com ([fe80::7428:f6b3:a0b1:a02e]) by DM5PR12MB1705.namprd12.prod.outlook.com ([fe80::7428:f6b3:a0b1:a02e%10]) with mapi id 15.20.2327.023; Fri, 4 Oct 2019 11:13:29 +0000 From: "Koenig, Christian" To: "Das, Nirmoy" , Nirmoy Das , "Deucher, Alexander" CC: "airlied@linux.ie" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] drm/amdgpu: fix memory leak Thread-Topic: [PATCH] drm/amdgpu: fix memory leak Thread-Index: AQHVepz+9tzYVi1V60uU+pu6QVo02qdKTAYAgAAEjYCAAAOrgA== Date: Fri, 4 Oct 2019 11:13:29 +0000 Message-ID: <4d665d18-2109-675e-dd69-c15bd0b2a011@amd.com> References: <20191004101746.19574-1-nirmoy.das@amd.com> <62ea397d-2847-04d7-3c50-6292255845c5@amd.com> <32afa408-0968-2d1a-5add-593907636592@amd.com> In-Reply-To: <32afa408-0968-2d1a-5add-593907636592@amd.com> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 x-originating-ip: [2a02:908:1252:fb60:be8a:bd56:1f94:86e7] x-clientproxiedby: AM0PR01CA0052.eurprd01.prod.exchangelabs.com (2603:10a6:208:e6::29) To DM5PR12MB1705.namprd12.prod.outlook.com (2603:10b6:3:10c::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Christian.Koenig@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7bf82198-b1cb-4551-ac96-08d748bbe270 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: DM5PR12MB1770: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 018093A9B5 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(396003)(136003)(39860400002)(376002)(346002)(366004)(189003)(199004)(2616005)(102836004)(86362001)(186003)(46003)(31696002)(316002)(476003)(25786009)(31686004)(52116002)(65806001)(65956001)(76176011)(305945005)(7736002)(2906002)(6636002)(8936002)(66446008)(11346002)(6116002)(386003)(110136005)(6506007)(53546011)(54906003)(58126008)(99286004)(8676002)(446003)(81166006)(81156014)(66946007)(66476007)(64756008)(36756003)(66556008)(229853002)(6512007)(6436002)(71200400001)(14444005)(71190400001)(6486002)(256004)(6246003)(5660300002)(4326008)(486006)(14454004)(478600001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB1770;H:DM5PR12MB1705.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A: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: TQbRJye8HHVnHw6bD6D+bIQxZrRz9+rDo9NUJrwufvv7jbTmP6jkdsP5fO6Z+otOb3Cf18yUfk0qK+3jYmMCi0SPqB57bLmagSGkL+AxtnQiZAFyKw39gMtfAIbZPHi4I0BQMk6WcKAI7QbPJJ9Jza0AHzI6VSoimvleSKSlJKm9SylLdIAS8QxjqsEWAd9/IZfZjeKdiqObfAd2aEcLbzSI2KjkuqJSJQWPCi2JNy4HYLug7kDALy9IazPk40HD3+F7hf0N6FBkk8f4JLzEtuoALA0vEVRWZ8PAQS6Iw2y8H1Q7cUJg+kxDCTR4FtgVgckFdYmoBk5SGBlbZK/RPYDJbHZemz7nAPr999l3mMD1fkha/msN4u2D8X9VJZslxD9zLiDX8DQXxc6qLG7nGvZhBOqFnQvBb+415F8JUUw= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7bf82198-b1cb-4551-ac96-08d748bbe270 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Oct 2019 11:13:29.4892 (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: 8uv6815Zl9djobzsxuMtU+8IeQguVmnIMDGEWdG9LcREeF4BaMawGb2U1HeZIUfv X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1770 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QW0gMDQuMTAuMTkgdW0gMTM6MDAgc2NocmllYiBEYXMsIE5pcm1veToNCj4gT24gMTAvNC8xOSAx Mjo0NCBQTSwgS29lbmlnLCBDaHJpc3RpYW4gd3JvdGU6DQo+PiBGaXJzdCBvZiBhbGwgcGxlYXNl IHNlbmQgbWFpbHMgcmVnYXJkaW5nIGFtZGdwdSB0byB0aGUgYW1kLWdmeCBtYWlsaW5nDQo+PiBs aXN0IGFuZCBub3QgbGttbC9kcmktZGV2ZWwuDQo+IE9rYXkuDQo+PiBBbSAwNC4xMC4xOSB1bSAx MjoxNyBzY2hyaWViIE5pcm1veSBEYXM6DQo+Pj4gSW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