From: Ben Widawsky Subject: Re: [PATCH 2/3] drm/i915: Record pid/comm of hanging task Date: Wed, 12 Feb 2014 11:32:00 -0800 Message-ID: <20140212193200.GF18418@bwidawsk.net> 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail.bwidawsk.net (bwidawsk.net [166.78.191.112]) by gabe.freedesktop.org (Postfix) with ESMTP id 4786FFAFAC for ; Wed, 12 Feb 2014 11:32:16 -0800 (PST) Content-Disposition: inline In-Reply-To: <20140212191819.GF14909@nuc-i3427.alporthouse.com> 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: Chris Wilson , Mika Kuoppala , intel-gfx@lists.freedesktop.org, miku@iki.fi List-Id: intel-gfx@lists.freedesktop.org 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 -- Ben Widawsky, Intel Open Source Technology Center