From: Chris Wilson Subject: Re: [PATCH 2/3] drm/i915: Record pid/comm of hanging task Date: Wed, 5 Mar 2014 13:08:15 +0000 Message-ID: <20140305130815.GA308@nuc-i3427.alporthouse.com> References: <1392042651-3278-1-git-send-email-mika.kuoppala@intel.com> <1392042651-3278-2-git-send-email-mika.kuoppala@intel.com> <20140212020708.GE23746@bwidawsk.net> <20140212081558.GB28999@nuc-i3427.alporthouse.com> <20140212185507.GA18418@bwidawsk.net> <20140212191819.GF14909@nuc-i3427.alporthouse.com> <20140212193200.GF18418@bwidawsk.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from fireflyinternet.com (mail.fireflyinternet.com [87.106.93.118]) by gabe.freedesktop.org (Postfix) with ESMTP id 5B4C4FA66B for ; Wed, 5 Mar 2014 05:08:24 -0800 (PST) Content-Disposition: inline In-Reply-To: <20140212193200.GF18418@bwidawsk.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: Daniel Vetter Cc: Ben Widawsky , miku@iki.fi, intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, Feb 12, 2014 at 11:32:00AM -0800, Ben Widawsky wrote: > On Wed, Feb 12, 2014 at 07:18:19PM +0000, Chris Wilson wrote: > > On Wed, Feb 12, 2014 at 10:55:07AM -0800, Ben Widawsky wrote: > > > On Wed, Feb 12, 2014 at 08:15:58AM +0000, Chris Wilson wrote: > > > Are you opposed to doing anything at context creation? pid reference > > > works for me too, or hold on to it with the request - I don't care. > > > > I'm just don't feel that the issue is severe enough for yet another pid > > reference floating around inside drm. I could well be wrong though, but > > I would like to be sure we have tried our best to use the available > > information we have already. > > -Chris > > > > -- > > Chris Wilson, Intel Open Source Technology Centre > > Well, the ref wouldn't be held if you just copied it at context create, > and it avoids having to stick in *file to actually do the proper look up > (not that that in itself is so horrible). > > For the sake of making progress, I disagree with Chris in tbut think it's > better than what is currently there, so: > Acked-by: Ben Widawsky Daniel? -Chris -- Chris Wilson, Intel Open Source Technology Centre