[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180425135552.GD7592@redhat.com>
Date: Wed, 25 Apr 2018 15:55:52 +0200
From: Oleg Nesterov <oleg@...hat.com>
To: "Eric W. Biederman" <ebiederm@...ssion.com>
Cc: Andrey Grodzovsky <Andrey.Grodzovsky@....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/24, Eric W. Biederman wrote:
>
> Let me respectfully suggest that the wait_event_killable on that code
> path is wrong.
I tend to agree even if I don't know this code.
But if it can be called from f_op->release() then any usage of "current" or
signals looks suspicious. Simply because "current" can be completely irrelevant
task which does the last fput(), say, cat /proc/pid/fdinfo/... or even a kernel
thread.
Oleg.
Powered by blists - more mailing lists