Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp2169811ybn; Thu, 26 Sep 2019 08:02:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqxwaJNz4fM9vJL5Q3DV+Sozzlh+Fgz8I/OL95hRXbhIVbrwQpvJWGlL7XEQIS2kim+GDZZZ X-Received: by 2002:ac8:4757:: with SMTP id k23mr4228011qtp.1.1569510123498; Thu, 26 Sep 2019 08:02:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1569510123; cv=pass; d=google.com; s=arc-20160816; b=bFEcAF1AgNG2E2+pf/NgAMZeYW0XtgGFVQ8ElfGkTkbzz1rLp6C3CfC/gOdkmAeBA8 GoqZvjyqrvDhFezog8TgdlQx5i8k/1/HCulmvGZRAcVcP7YU6/SjQamz4eVGpv30p5qr 6x62wbinfpN7Z/3DVhik+bVQfJrNsyM9QgiKWqMLmki65UFZqposT4k2M+fvh1o2oM3g 2BeQny+/oWL08dW/qXqrltrjgcKEGoL47G4hbpbpMP5RXTxbr9lqQI/4mkIB3dsW3go+ q4E7rW6OViPfSHHBsR7rUacMGuSK0Pk2PBDetNVToFenHWeolciGCxf8/R2yYHvU8qKX IaSQ== 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=fc2jR+avzlhcvu2R+y9T0Xkz/3RaM2Q4XXbDU0Lxv1U=; b=NePEGWUh95jRXwGWhkI5vCRAsVzcy0R2aWuOB3sXT1aHGQ6p8udmfhfyYD5QBWCxeq Eub8I39KXEx1hujy+g270hEZsKdEiSoT4nxLngKh8nQHGlSPzH0+7d7Wm6FrXYSxIAVN rk16/tTxHkK8ucCRfkqKhyByjLRUvVZHq/qm8AJh6hsDRBN30Ch83/uiutPDTYqTzI/S mrEnbSu/Ldv+5YDeFibtJKqp4fy5WilXWgQCXZxnluI4OpPuQHorU3LUGywSSraww/o1 H0u5DmaFXyEWRMQHLncDySPuvPJ5IKMD/Jy0pDY85mX1DU0/SUPh5gHa6o4WheTK2ZYq sjwg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=Tknb1Byp; 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 y71si1614932ede.135.2019.09.26.08.01.23; Thu, 26 Sep 2019 08:02:03 -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=Tknb1Byp; 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 S1727022AbfIZO6r (ORCPT + 99 others); Thu, 26 Sep 2019 10:58:47 -0400 Received: from mail-eopbgr790087.outbound.protection.outlook.com ([40.107.79.87]:51264 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725813AbfIZO6q (ORCPT ); Thu, 26 Sep 2019 10:58:46 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MPNVyh45wJrfniPEux1B0d0NZN5SdlQFwWQpGRb7jxGU3llRB5yNjKJ/EGjE0/voUQ7i4GyZrbfAU9rRsybykoBormNxA0CAHdbwBKIdokP+LYhuz4oqhnvdDItTzR7BB15a5ECjDTCBTL2nOQfzo5rqFT/5WIQHRW1rhfLVzbdQdvLlbNfqVNu6BPI2GDE6uYfm5ELub+CDC+F4NfD+rGxlW/e0Z2qhW3f3/BlDcd21S4hW23sfgtIUzOmNFE6gmnGEffU+FMD3/a8awNSQvxm/DvIexum81akKursg30qePmFuDln1w8gopqIEPdH5jjScIvX3hs2BOBVY+ByFUQ== 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=fc2jR+avzlhcvu2R+y9T0Xkz/3RaM2Q4XXbDU0Lxv1U=; b=mDL5m4cIDx48BTaHqdxaSWPe4r7uDYXpAseKVTY0SBfyXDZPbfIa0Vk+o1qCdg/bPmYrxQQN4Oy4rKalSU387lRTIgfR3++QBlmg4DuxNy9z4RSNcNqPaAJ8UH95P+rH7edDkrYPjsVZ03yS8uJEc3KkN8bElgioWs1ofHD5H9DXVGbRDOmV0ZRuUDKO6Q/h1ns4Kg7B1qQkVkYJsegnyfIKXBuxGfpPnwz21HgiVwXqjzKgOrAWyLAL779J7PQrCYMwRP25Dj7o8gzod8epw/Y5lm1vRLDWZgWpnZA8jC0Xkoh9JoCr8W5q7A5ksONaGnynGd8p9TVt34rhPxxJ5g== 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=fc2jR+avzlhcvu2R+y9T0Xkz/3RaM2Q4XXbDU0Lxv1U=; b=Tknb1Byp3lNoMIztUmT7KG9UhEp594ZWTpplHpAMWsEQUORETeQZ7E8FjduPFKUwu7OBKUm60keyel1JH+86OeKn/Tbouy4CY/boSgBLKOpa9RQhJw3n9rSRypHiw6WUQ1QikMz0e1BArKNcLE+JUzYVbStQNrkzDJnh+6oYN7s= Received: from CY4PR12MB1446.namprd12.prod.outlook.com (10.172.72.19) by CY4PR12MB1319.namprd12.prod.outlook.com (10.168.169.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2284.26; Thu, 26 Sep 2019 14:58:42 +0000 Received: from CY4PR12MB1446.namprd12.prod.outlook.com ([fe80::1dbd:eba0:5fcf:c9f3]) by CY4PR12MB1446.namprd12.prod.outlook.com ([fe80::1dbd:eba0:5fcf:c9f3%6]) with mapi id 15.20.2284.028; Thu, 26 Sep 2019 14:58:42 +0000 From: "Grodzovsky, Andrey" To: "Koenig, Christian" , Steven Price , Daniel Vetter , David Airlie CC: "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , "Deucher, Alexander" , Nayan Deshmukh , Sharat Masetty Subject: Re: [PATCH] drm: Don't free jobs in wait_event_interruptible() Thread-Topic: [PATCH] drm: Don't free jobs in wait_event_interruptible() Thread-Index: AQHVc7PzYTddskm3okCDHaLelWCdUqc9irsAgACDn4A= Date: Thu, 26 Sep 2019 14:58:42 +0000 Message-ID: <4d4aa96f-ff2a-681a-6892-b75e2b5bf86a@amd.com> References: <20190925151404.23222-1-steven.price@arm.com> <321e99c1-4ce8-e6e1-83c8-2df1c78acce3@amd.com> In-Reply-To: <321e99c1-4ce8-e6e1-83c8-2df1c78acce3@amd.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: YTXPR0101CA0018.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b00::31) To CY4PR12MB1446.namprd12.prod.outlook.com (2603:10b6:910:10::19) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Andrey.Grodzovsky@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.204.55.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: e25f8448-1235-49d6-4965-08d742920592 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600167)(711020)(4605104)(1401327)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:CY4PR12MB1319; x-ms-traffictypediagnostic: CY4PR12MB1319: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:134; x-forefront-prvs: 0172F0EF77 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(376002)(136003)(396003)(39860400002)(366004)(346002)(199004)(189003)(86362001)(14454004)(76176011)(5660300002)(36756003)(7736002)(386003)(3846002)(6506007)(6116002)(102836004)(186003)(53546011)(26005)(52116002)(14444005)(71190400001)(478600001)(2906002)(6246003)(81156014)(2616005)(316002)(71200400001)(486006)(6486002)(256004)(31686004)(54906003)(99286004)(6436002)(66946007)(110136005)(66066001)(8936002)(11346002)(476003)(6512007)(81166006)(229853002)(8676002)(66476007)(446003)(31696002)(64756008)(66556008)(25786009)(66446008)(4326008)(305945005);DIR:OUT;SFP:1101;SCL:1;SRVR:CY4PR12MB1319;H:CY4PR12MB1446.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-message-info: 58zFldtzWHVsq2KIX0hifyB58bhNbMzRQVPz1Ly/fa6D6h7IJv+eeQ+2RgUblRoAR9ALizV/Zdpi1W4kDMj6VKcHnUImS0nZfPrT+0v2hmXDj5800O9tcNHuo3SPhF11zAT/mvv0/d1XIOS2ofrET/XUgpRmhiRetl1v2Y3pPUJjteA4W2dyxNMaB0Y8pBQh37H8NGNyKiDZzc7o8hM4LPnPfepkbcoD3uYf8wx6gHfyTEKROTEZlN/nHfXZaPwipxOiB8HjELqhIHu6qcZrAMDAKKI8KBaA57jzqiBTihdxuTEpciyo8kD+MtnX+iQNSEWed5Aqg97Mee0hZvhBAmk4DgEToQUxkunAswq3smxjmMlrzrsvIZbumMwPeD2dTmBvLNm17UmmiVYFHNjJmuSPxMh9RlYt7iLTqKaS6iA= Content-Type: text/plain; charset="utf-8" Content-ID: <24AABCAB6501394AB808BD54C69D7CF0@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: e25f8448-1235-49d6-4965-08d742920592 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Sep 2019 14:58:42.4675 (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: H40HfOp3psjxL0Fun4ffChKhczpOIizydwpDWSUWJnbJ61k9GjzuupG47Tz4WLMP/LZoNAgly86nWEePnlDRPg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1319 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQpPbiA5LzI2LzE5IDM6MDcgQU0sIEtvZW5pZywgQ2hyaXN0aWFuIHdyb3RlOg0KPiBBbSAyNS4w OS4xOSB1bSAxNzoxNCBzY2hyaWViIFN0ZXZlbiBQcmljZToNCj4+IGRybV9zY2hlZF9jbGVhbnVw X2pvYnMoKSBhdHRlbXB0cyB0byBmcmVlIGZpbmlzaGVkIGpvYnMsIGhvd2V2ZXIgYmVjYXVzZQ0K Pj4gaXQgaXMgY2FsbG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