[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACvgo50rWD737JhfR=7sH3bVUwR3FdWN9bve7yZ2zxGHHuBFgQ@mail.gmail.com>
Date: Wed, 21 Feb 2018 21:10:28 +0000
From: Emil Velikov <emil.l.velikov@...il.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Christian König <ckoenig.leichtzumerken@...il.com>,
ML dri-devel <dri-devel@...ts.freedesktop.org>,
amd-gfx mailing list <amd-gfx@...ts.freedesktop.org>,
"Linux-Kernel@...r. Kernel. Org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/4] locking/ww_mutex: add ww_mutex_is_owned_by function v3
On 20 February 2018 at 13:12, Peter Zijlstra <peterz@...radead.org> wrote:
> On Tue, Feb 20, 2018 at 01:58:26PM +0100, Christian König wrote:
>> amdgpu needs to verify if userspace sends us valid addresses and the simplest
>> way of doing this is to check if the buffer object is locked with the ticket
>> of the current submission.
>>
>> Clean up the access to the ww_mutex internals by providing a function
>> for this and extend the check to the thread owning the underlying mutex.
>
>> Signed-off-by: Christian König <christian.koenig@....com>
>
> Much thanks for Cc'ing the relevant maintainers :/
>
Doubt it's intentional. The get-maintainer script seems confused and
lists no maintainers?
$ ./scripts/get_maintainer.pl include/linux/ww_mutex.h
linux-kernel@...r.kernel.org (open list)
While the normal mutex header works fine.
$ ./scripts/get_maintainer.pl include/linux/mutex.h
Peter Zijlstra <peterz@...radead.org> (maintainer:LOCKING PRIMITIVES)
Ingo Molnar <mingo@...hat.com> (maintainer:LOCKING PRIMITIVES)
linux-kernel@...r.kernel.org (open list:LOCKING PRIMITIVES)
HTH
Emil
Powered by blists - more mailing lists