Received: by 10.192.165.148 with SMTP id m20csp4818889imm; Tue, 24 Apr 2018 08:53:48 -0700 (PDT) X-Google-Smtp-Source: AIpwx48UuU7XCy6HJ5hbR0LvNytT+UYHCHrIYbB/vhONJY6cnRqoeg+8fVey8pOIr8eAJtGlIVFX X-Received: by 10.101.67.203 with SMTP id n11mr13532236pgp.287.1524585228035; Tue, 24 Apr 2018 08:53:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524585227; cv=none; d=google.com; s=arc-20160816; b=GIOffxDMeIooFBSwBmcVFY7DzJ4Wl2eU9Aj6zvR1XmwYxIet9ks89rMdj6y2iywxVC +ESeTgQicwQCZSIoqF+8yAmPRZ90nw39D8yxK1Ay6KorWI1E4SvCxt/gP6qTZgXi9w/C +3S2GxkBdADHVNBW8CchPgGxKkCF5cuyoifV7gyA3wdjfFcQRsWiuObuj/0TqRBtMg/4 LVF13p3vI1gWG36ePge5zNnlztDWSxS4jnXdkR0mo4/BNRYMVWVtZjmSC285ICRRKDhN 2k/vTyINIrjtE/YzRtYyjKIvMPr5VE9iVLfuHvQ+LIUhhe1YsBMY3aSe25BZEKhvf/Ec XNnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:arc-authentication-results; bh=2kpailBgXVmcmQ8BvLAZdO7a6dxdtDeGv+FoRZtreQc=; b=mUhxhJcsfmSxj+xvcR8dFCVvm5Dxw9RkGU8BWUHQtoYHTP73YZEJtOaYcwDgBQRzUv yJFVj2YAyvpR5dMGzAWv2fZJhix+8ou1MM64tnfNSDMFOSAdmHNEY+wPchCQo4aujA+X Ecfgap/FMsh9yshjMGci0bYFvxQhDvp+pvlWiDgoAT5AGzy3gsSE56vsaITYlGQOQAac tATQeGNKXrtP1PTuUctjMX//OiBAbj62AJ89mFfh8KyDvR4E5YHllJtE/hRc+l2ziqzj zxpk/EKyLwh9cGk2yKjZSTweTejCdjn6jKu8pW7B1ZjWdzlDuUz2lrg9qIBTn8k20ddw TDTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=y+GOBQDj; 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 w20-v6si14586226plp.7.2018.04.24.08.53.33; Tue, 24 Apr 2018 08:53:47 -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=selector1-amd-com header.b=y+GOBQDj; 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 S1751436AbeDXPv7 (ORCPT + 99 others); Tue, 24 Apr 2018 11:51:59 -0400 Received: from mail-dm3nam03on0051.outbound.protection.outlook.com ([104.47.41.51]:21792 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751239AbeDXPvw (ORCPT ); Tue, 24 Apr 2018 11:51:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=2kpailBgXVmcmQ8BvLAZdO7a6dxdtDeGv+FoRZtreQc=; b=y+GOBQDjdBADwOWVX76FydCe2qkbXVeKDrukYpRvPU8TA+ljHc2ZGksURt9C4HsszgLVtaFFYsJ7Lg0/LU7W/7gthE5KWAnqBLYhp5fgZBAKC+KgEqKrPQ/WyTRfFdRAOQN5I2y0KSJIIOY2znAqewb8r/RtCgd7WwGRYAofifs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Andrey.Grodzovsky@amd.com; Received: from [IPv6:2607:fea8:3ce0:41b::4] (2607:fea8:3ce0:41b::4) by DM5PR1201MB0124.namprd12.prod.outlook.com (2603:10b6:4:55::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.17; Tue, 24 Apr 2018 15:51:50 +0000 Subject: Re: [PATCH 2/3] drm/scheduler: Don't call wait_event_killable for signaled process. To: =?UTF-8?Q?Michel_D=c3=a4nzer?= , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Cc: David.Panariti@amd.com, oleg@redhat.com, ebiederm@xmission.com, Alexander.Deucher@amd.com, akpm@linux-foundation.org, Christian.Koenig@amd.com References: <1524583836-12130-1-git-send-email-andrey.grodzovsky@amd.com> <1524583836-12130-3-git-send-email-andrey.grodzovsky@amd.com> <7313704c-0693-0bb9-8818-99cd2b7c0ca0@daenzer.net> From: Andrey Grodzovsky Message-ID: <6a4ba810-e00a-6446-f3c8-a3be56f24589@amd.com> Date: Tue, 24 Apr 2018 11:51:46 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <7313704c-0693-0bb9-8818-99cd2b7c0ca0@daenzer.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Originating-IP: [2607:fea8:3ce0:41b::4] X-ClientProxiedBy: YTXPR0101CA0031.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b00::44) To DM5PR1201MB0124.namprd12.prod.outlook.com (2603:10b6:4:55::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(2017052603328)(7153060)(7193020);SRVR:DM5PR1201MB0124; X-Microsoft-Exchange-Diagnostics: 1;DM5PR1201MB0124;3:XkhxdpxwnytEzyXXgTf7un5CPXYwMonmiwn4etC8qs2JsGPTb8MHlFfo73cOl9+OZkqLt7Dynep24ffXGIx5q9jLN0t3GYBMuxdAka+oG2i/hPvEJxWduZkJvL7/fmOGNHR8yNy8yGyhBbBCO4+xqm+eCFr9bTCNJjkjnV+s3ikeDJz9GgW5mbu8d/r+5HwdHbTnkFR5SRooDFJCeoglyuoitKHVMrfWpxP+any2QGpLPR4SYqaTnZSryAghHLEZ;25:wIm0akRoPgPCgLeXwNq2jwIGeOI73PbGieys6yZIbTiMBvcKHhCGVF0VRFL2DcE/uYOGjRqWXX9J66j2E7dv4mSCuYe3ye8FH/eXBmBTnqATlfSSDjIgVHrPKn1O8uMB+gipdyuf4YcZSrhONhGyviC0EFRvRbV60XB9RBao6d3+RT4UdECkgZs4kc9OJghx7MF6uDLDYJQMpSOlTgVDJ9Diq0P0Povc6/bEZUYWrbm69ViOXwaclm20k1kpUNdcHYoHuTg6+BlILX0UpJX5fbzfVizgwP0u4oB3CsFB0JesYigoEGr4J0yeXF07YFTLh7/4mzBYK90uVGVgVXZ/Rg==;31:CllH4U8OJJTDpZum6fycxvADgLqbVXkPFFpkO1Dw7VEkRCBMIU5Sx2xXCAGM3LT16/ZQCuVF8+L+qgRn9honjpr1cmQ2/n6CRYgJ4sPXKRnk7pnJ/elDVwnCZPLW8mtShMvBmTUYoHnexLdr+WcQgAv+yxJaFIIqILyxqlMCFgFchgOWxrMwsuKsl48VbDBXkbhtFsDqaOytN5yN0q+9bQRcZhKQ2Idzb0P8gP1J5W8= X-MS-TrafficTypeDiagnostic: DM5PR1201MB0124: X-Microsoft-Exchange-Diagnostics: 1;DM5PR1201MB0124;20:FyCRXIItk4bELkJh5oth3o875GvdMe78XR8pYYp41zWqBDXt0B6AUIIlCnk9OXcz9LCBxsQAqgNnLYBZqC3Ck6JJzAvTRpqhDhow8ox/A3u2PZWM3CkXpEXNvTpEtPRcdBYL3XrJBCQ/dDRNBDKy26HHzJpyw3acBINe8oyt3BFM8zia27L2lqmELwyLjjVvI5f1swNGJSo10tKg844rEs1VpVbG2gYZeKATD8m9EgS4b/TJ6O5owpS7eQclSza4YZ/0bkbGso0k9G/tQily2Z69RB95rXy44JFXe261Lw1tnyt5i5OX7iCc+Z9OK9P0xS0SURVuCYTGsl/lLLefQ+FeDpqwBpa3VIu7p/81lKaB+wTIjReyj/332pfDpNpWlxS59cnIAqBVavpw3YYlxBnwfOa0/hZ7Og/EXkrr8C2KGy/KPPKRYSiX9u/54VwT/2oCKOirclSATcTg1e/+/jy3oQUFJONySiVDCxfYZFIVvuohc367zIcHBYeK9fN8;4:U8CxzLiMKkQ70PtOFCEewUXohDC5Zck1DfsvcRv79e8OODQ/cgFW1QN1AbPpz7hDtjMOBid7zcWPpBikhvMPlpCXVTurjAkpkp6GuujH8Q55lyJuOKQxjtmQXZp5OLv9IyY2s1oC95RvVmaqox7QTfdnJ+PZvKUhOD3gkzGhdKiEKD5OVNt07XOvoLWTTCioYYw0XjuvqhoiYKfsd7mphfnwBjfVXqyatiU5NcCp+q2p8e7yNTVyF83V0zkLl8Ud4ZthdfiJoZbruFIdegFGbqSKbM1z2VRiih1ERn4jfxV9h27C1EaAKhg7/akyUAZk X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3231232)(944501410)(52105095)(3002001)(6055026)(6041310)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:DM5PR1201MB0124;BCL:0;PCL:0;RULEID:;SRVR:DM5PR1201MB0124; X-Forefront-PRVS: 0652EA5565 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(39860400002)(366004)(396003)(346002)(39380400002)(376002)(189003)(199004)(377424004)(6116002)(8936002)(4326008)(1706002)(97736004)(68736007)(2870700001)(2906002)(50466002)(53936002)(316002)(65806001)(36756003)(6246003)(8676002)(47776003)(64126003)(81166006)(305945005)(81156014)(65956001)(7736002)(106356001)(76176011)(2486003)(23676004)(65826007)(67846002)(52396003)(52116002)(52146003)(53546011)(105586002)(58126008)(86362001)(5660300001)(2616005)(25786009)(31696002)(59450400001)(386003)(486006)(72206003)(11346002)(6666003)(229853002)(478600001)(476003)(46003)(31686004)(16526019)(6486002)(446003);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR1201MB0124;H:[IPv6:2607:fea8:3ce0:41b::4];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-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtETTVQUjEyMDFNQjAxMjQ7MjM6b3o5ZGhTK2tIOFBZSmxpMUUyaEs5ck1O?= =?utf-8?B?elo5bWZVV3ZSZUFhMTZGd1ZKcTRBaThIQ2kyc1oweU44Z2xRaFFhenRuMjh2?= =?utf-8?B?SGFWYUo2RFZSZmpGQzdzdHJYRWUyYXZyTTdnNVRhSVQxNW5sNktVTTFDRHAw?= =?utf-8?B?WkdVcEhHamlmVTd2bURUUjRWQUtrSDc3UnA1RVNLdzhIVWswMlc0SHNFTnhM?= =?utf-8?B?K202SnVheGkvTVoyNGdyVkI5NjNLSk5FTjdSS3dyN0hwNXRtMUNuWUI1djdJ?= =?utf-8?B?RzJGYWF5MzJrd2tPZVJrcDhjZURyS3c3SjEyaXNPUUM2Ukt2R3B3OS9SYmx2?= =?utf-8?B?azJOYlRiWmJlWTU5YjFNeFgwWmFEc3dDeCs4YXFwb0wwS2NLMFo0YllI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WM2VcOw3WlS4GksMZhezgHyzZ6Y71hnM44AvIh3mO4NJY+U6h2gpAVUQre18RTQ317OK1P6d5rnsVVZweAKqgkMbfJUh68gg+jUILt9FZviN5wgE7UoJJIsKyw/VeR1/AobaHQYqrrpm8Bgy1awPdTzfPr/n7nrzdHTiiZdZ7 X-MS-Office365-Filtering-Correlation-Id: e3de17dd-b13f-4a46-f798-08d5a9fb4b4c X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Apr 2018 15:51:50.2701 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e3de17dd-b13f-4a46-f798-08d5a9fb4b4c X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB0124 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/24/2018 11:46 AM, Michel Dänzer wrote: > Adding the dri-devel list, since this is driver independent code. Thanks, so many addresses that this one slipped out... > > > On 2018-04-24 05:30 PM, Andrey Grodzovsky wrote: >> Avoid calling wait_event_killable when you are possibly being called >> from get_signal routine since in that case you end up in a deadlock >> where you are alreay blocked in singla processing any trying to wait > Multiple typos here, "[...] already blocked in signal processing and [...]"? I don't understand where are the typos. Andrey > > >> on a new signal. >> >> Signed-off-by: Andrey Grodzovsky >> --- >> drivers/gpu/drm/scheduler/gpu_scheduler.c | 5 +++-- >> 1 file changed, 3 insertions(+), 2 deletions(-) >> >> diff --git a/drivers/gpu/drm/scheduler/gpu_scheduler.c b/drivers/gpu/drm/scheduler/gpu_scheduler.c >> index 088ff2b..09fd258 100644 >> --- a/drivers/gpu/drm/scheduler/gpu_scheduler.c >> +++ b/drivers/gpu/drm/scheduler/gpu_scheduler.c >> @@ -227,9 +227,10 @@ void drm_sched_entity_do_release(struct drm_gpu_scheduler *sched, >> return; >> /** >> * The client will not queue more IBs during this fini, consume existing >> - * queued IBs or discard them on SIGKILL >> + * queued IBs or discard them when in death signal state since >> + * wait_event_killable can't receive signals in that state. >> */ >> - if ((current->flags & PF_SIGNALED) && current->exit_code == SIGKILL) >> + if (current->flags & PF_SIGNALED) >> entity->fini_status = -ERESTARTSYS; >> else >> entity->fini_status = wait_event_killable(sched->job_scheduled, >> >