[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c39cb438-1e8a-4f2c-50f6-c6e2a144487b@amd.com>
Date: Wed, 25 Apr 2018 14:40:54 -0400
From: Andrey Grodzovsky <Andrey.Grodzovsky@....com>
To: Oleg Nesterov <oleg@...hat.com>
Cc: "Eric W. Biederman" <ebiederm@...ssion.com>,
linux-kernel@...r.kernel.org, amd-gfx@...ts.freedesktop.org,
Alexander.Deucher@....com, Christian.Koenig@....com,
David.Panariti@....com, akpm@...ux-foundation.org
Subject: Re: [PATCH 2/3] drm/scheduler: Don't call wait_event_killable for
signaled process.
On 04/25/2018 01:17 PM, Oleg Nesterov wrote:
> On 04/25, Andrey Grodzovsky wrote:
>> here (drm_sched_entity_fini) is also a bad idea, but we still want to be
>> able to exit immediately
>> and not wait for GPU jobs completion when the reason for reaching this code
>> is because of KILL
>> signal to the user process who opened the device file.
> Can you hook f_op->flush method?
But this one is called for each task releasing a reference to the the
file, so not sure I see how this solves the problem.
Andrey
>
> Oleg.
>
Powered by blists - more mailing lists