[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACvgo51DmeM7Tbboozxu3Yn-Pe-eALVTkiq4vZBJJHKfqP_HeA@mail.gmail.com>
Date: Tue, 20 Jun 2023 15:48:42 +0100
From: Emil Velikov <emil.l.velikov@...il.com>
To: Tvrtko Ursulin <tvrtko.ursulin@...ux.intel.com>
Cc: Intel-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
Rob Clark <robdclark@...omium.org>,
Brian Welty <brian.welty@...el.com>, Kenny.Ho@....com,
Tvrtko Ursulin <tvrtko.ursulin@...el.com>,
Daniel Vetter <daniel.vetter@...ll.ch>,
Johannes Weiner <hannes@...xchg.org>,
linux-kernel@...r.kernel.org,
Stéphane Marchesin <marcheu@...omium.org>,
Christian König <christian.koenig@....com>,
Zefan Li <lizefan.x@...edance.com>,
Dave Airlie <airlied@...hat.com>, Tejun Heo <tj@...nel.org>,
cgroups@...r.kernel.org, "T . J . Mercier" <tjmercier@...gle.com>
Subject: Re: [RFC 02/10] drm: Update file owner during use
Hi Tvrtko
Sorry for the delay, real life and other obligations got in the way.
On Thu, 8 Jun 2023 at 15:26, Tvrtko Ursulin
<tvrtko.ursulin@...ux.intel.com> wrote:
> On 21/04/2023 13:13, Emil Velikov wrote:
> Are you okay if I just paste your very fine explanation verbatim, with
> credits?
>
Yes, feel free to use as much of if as you see reasonable.
> > I also had a brief look at 01/10, although I cannot find many
> > references for the pid <> tguid mappings. Be that on the kernel side
> > or userspace - do you have any links that I can educate myself?
>
> TGID or thread group leader. For single threaded userspace TGID equals
> to PID, while for multi-threaded first thread TGID equals PID/TID, while
> additional threads PID/TID does not equal TGID. Clear, as mud? :) My
> POSIX book is misplaced somewhere having not consulted it years... :)
>
Ack. /me looks into actually buying one, perhaps
Thanks
Emil
Powered by blists - more mailing lists