Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1922478ybn; Thu, 26 Sep 2019 04:21:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqzw+pClmvtWvDzdH2Yemfh1Rl3OYyQKm/9Efl6BHwIICvEkklZoyZqGFsaR72VfNnoNfTnE X-Received: by 2002:a17:906:278a:: with SMTP id j10mr2543215ejc.228.1569496891287; Thu, 26 Sep 2019 04:21:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1569496891; cv=pass; d=google.com; s=arc-20160816; b=lVoVlS68Q8NT7NWjFcRAou5OarZ1JzG/nOJcDqrLKemE+4Dk0omPK2bHESbYDXbl9/ 8frsl+IwyWEHuU0BnwmL24BZps1ZfocqMeUAOt+Q+JPYeSxY4d0gttK/Gpaf3c+XAyNh XttY+s4uzk1CEwa07WqxB96N9d2M9EilhSyWM4kNzhEa3kwf40AXk2tVvsOgHJO5ugW/ jLYnWTIOfmYbOrOi15nVZIJoG/mT2bCa04owk+OkoxckgVFIIjzIQuvbbViGc1iGOe0A PAo4uS+Hr80+iKCEldSyBcT9kkgxQLcyqChpKcD//1OR4vhd+IWCB3j7x/dOtbJ4RmFQ tZYg== 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=9vfF5kDvCWqpjmX9mvgJbCmPpYd5gx+VJbryw04glPA=; b=0cIJ4ObKrb6jMGD2B4pTzVcyH4aJXHfVlb2Gkgrwolf5YMPw553WxV6RQNtTgKH39E IabEMtOlzgO9eE2tkGYFHIsc6h+6SbAK1yHE6UBLbDauW54SJBVbwuEOYd8Eog2s4GCU 2ocxdKt3D2IqAbHlNeIeB5yOdEwpLFgJqcFhGQ3u5SFCjHzxRAUksTqd8jTDTb8K6daI qX/tVUwiV6Pkgc3PmsTSlQmv+6cgKNp7+PnsVTPoacyw4XJcL9URakJVlpnHY8897M/c Py2v7w6yffWFLMNgXubukaPqf+A51KHPOZFE1QPWygkVv03Xm37kltRJpgutBSzxOGVv q8Gw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b=OJ9WnZXV; 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 j38si1070575ede.374.2019.09.26.04.21.07; Thu, 26 Sep 2019 04:21:31 -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=OJ9WnZXV; 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 S1726020AbfIZLRQ (ORCPT + 99 others); Thu, 26 Sep 2019 07:17:16 -0400 Received: from mail-eopbgr720072.outbound.protection.outlook.com ([40.107.72.72]:45343 "EHLO NAM05-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725280AbfIZLRP (ORCPT ); Thu, 26 Sep 2019 07:17:15 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lP6zUoYF1h72hro4bo7JCSjNOFWMQ5pLrC2HcvDR4ypvjfXY54rUUC2CZBHR4SBlf1q3XQ26VcoK7xAAvLiZS1jHqVDKmAIfoHYO6+HZmG+u0UU/0ZRXXwho3xAaDi5ixN1S/2bxaNE4l5KLVagyKBTqlGqI8F/U9DOEWR4gkchBSF6TgOdTBdzHgveqUjFgaEVIRA1ylQCzR753CSpXgS+JhsOWh5muqrAQ23ie+xLZcDoWlEq+oU+c/NwzOlUvVTIIlMwCUMGiW7QL3G8VQCYR1A3mBLVw7u1n/y6+v/u7VguXOJ/ONKat4lOM/IM1vpsaJ+u9jqM5dtf1sqs5Gw== 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=9vfF5kDvCWqpjmX9mvgJbCmPpYd5gx+VJbryw04glPA=; b=LqmYFPigqDSnFmZLt+gtRnalO+BT7/HYrCva05dx0T3R/qb2sYoqNK5Yx95cikJubjNrgPO+cAMCCwkI5NKowebaEhc9yGmr0Yi2M67xJlhaPe2GKurMc/JOI93hY61No9DMOGSpyArE6X4bUvUSPvwWwbS/d2/TO2aC+p+CHj2JuVyav2PniB6kvP4I3zHnWb0LOgDil0hZ4J5KDXadfStcJaw/QCRTGJS9GQGhH44kVYUQMff7GLskDy5+YEGA6R6YdoqCKk+rF2t+LFtjarh+3yZIjlltwh2Iq4MR99Vc+vaYxh/FNZmspexKVCAU0GtycV8MGRCrF0oJ5udRSA== 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=9vfF5kDvCWqpjmX9mvgJbCmPpYd5gx+VJbryw04glPA=; b=OJ9WnZXVxvo3pseI0ToeB3iYU72eTYxIdgZkhAPqkNvenNpvCCtTfKXSm7CftWjQgsIRc/GVbR37uGg4J+IaMNXXsYfU33uZ98Iw/3VnQgf2L7hDjpR4QuitP++Afi3MoI4xp+88GscyeiA/Sai27w88Gm6KSbeNTWb55+6fRuc= Received: from DM5PR12MB1705.namprd12.prod.outlook.com (10.175.88.22) by DM5PR12MB1689.namprd12.prod.outlook.com (10.172.33.138) 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 11:17:12 +0000 Received: from DM5PR12MB1705.namprd12.prod.outlook.com ([fe80::9d43:b3d4:9ef:29fc]) by DM5PR12MB1705.namprd12.prod.outlook.com ([fe80::9d43:b3d4:9ef:29fc%8]) with mapi id 15.20.2284.028; Thu, 26 Sep 2019 11:17:12 +0000 From: "Koenig, Christian" To: Steven Price , Daniel Vetter , David Airlie CC: Sharat Masetty , "linux-kernel@vger.kernel.org" , "dri-devel@lists.freedesktop.org" , Nayan Deshmukh , "Deucher, Alexander" 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: AQHVc7PzyGiUqz4Sx0azjxLt3Sgtwqc9irIAgAAspYCAABkYAA== Date: Thu, 26 Sep 2019 11:17:12 +0000 Message-ID: <8a0a81d1-a797-f16d-d218-f0f207749185@amd.com> References: <20190925151404.23222-1-steven.price@arm.com> <321e99c1-4ce8-e6e1-83c8-2df1c78acce3@amd.com> In-Reply-To: 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: PR2PR09CA0022.eurprd09.prod.outlook.com (2603:10a6:101:16::34) 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: d377a997-1d31-4d88-09dc-08d74273140a 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:DM5PR12MB1689; x-ms-traffictypediagnostic: DM5PR12MB1689: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 0172F0EF77 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(39860400002)(346002)(376002)(366004)(136003)(396003)(199004)(189003)(99286004)(66556008)(64756008)(66446008)(66946007)(229853002)(66476007)(256004)(8676002)(14444005)(81166006)(81156014)(31696002)(86362001)(54906003)(76176011)(4326008)(6116002)(486006)(8936002)(25786009)(186003)(6486002)(6436002)(71200400001)(71190400001)(46003)(476003)(65956001)(65806001)(36756003)(31686004)(14454004)(6512007)(2906002)(11346002)(446003)(2616005)(6246003)(58126008)(316002)(6506007)(386003)(305945005)(110136005)(5660300002)(102836004)(478600001)(53546011)(52116002)(7736002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB1689;H:DM5PR12MB1705.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: 7Mt1ffT5t786q12wMwuCZikuxrXvSxBUnNkQYhoBhNIlB+IPYZDUO+dBIwSViJK1uPLDdF+/7hDm3OlShTmxVTEsmGx5XamgyyKSgV+1P3XEavbUPI6rB+NFep92YyMz/tTGu5CNpuQtgIgsnfdERuwl2JyF+KbF1McGzq3OeojkXwzgu+RoRepi/hUZN5ZiZn9htxKRVx7Hor/EP8CPu2EyRQ3SxuqgOj03PLncVRrUUY3sIuTg+/ZudJ8KDOVGXMZcv5tBfTVfmY0fZTq8D8y3cW/30nqDf/uYQe8jdpgbIiz676q5ev+Etk/D9XSz+pQBhWtS2wV1wSZaAeX+wxKiIK7I8DzZ4algQX8f5zq6sljiRbwfOcOpBev3HVK4v8PXuBESK0qKqTurv2UE/j1SijpZhQSR68aW6G/NH1g= Content-Type: text/plain; charset="utf-8" Content-ID: <72A1A59A6537A54686C414C68856E757@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: d377a997-1d31-4d88-09dc-08d74273140a X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Sep 2019 11:17:12.3937 (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: yEswMEthI2ckf4UxehRbitehaFPhso9hOO1SgqbEJQgWB5nmtv3oM68HeACRic6J X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1689 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QW0gMjYuMDkuMTkgdW0gMTE6NDcgc2NocmllYiBTdGV2ZW4gUHJpY2U6DQo+IE9uIDI2LzA5LzIw MTkgMDg6MDcsIEtvZW5pZywgQ2hyaXN0aWFuIHdyb3RlOg0KPj4gQW0gMjUuMDkuMTkgdW0gMTc6 MTQgc2NocmllYiBTdGV2ZW4gUHJpY2U6DQo+Pj4gZHJtX3NjaGVkX2NsZWFudXBfam9icygpIGF0 dGVtcHRzIHRvIGZyZWUg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