From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [PATCH v2 1/2] drm/i915: EBUSY status handling added to i915_gem_fault(). Date: Wed, 03 Oct 2012 15:27:36 +0100 Message-ID: <051c15$4gt4qo@AZSMGA002.ch.intel.com> References: <1349270822-29740-1-git-send-email-mika.kuoppala@intel.com> <1349273727-14362-1-git-send-email-mika.kuoppala@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by gabe.freedesktop.org (Postfix) with ESMTP id 6D5D99E997 for ; Wed, 3 Oct 2012 07:27:41 -0700 (PDT) In-Reply-To: <1349273727-14362-1-git-send-email-mika.kuoppala@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: mika.kuoppala@intel.com, intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, 3 Oct 2012 17:15:26 +0300, mika.kuoppala@intel.com wrote: > From: Dmitry Rogozhkin > > Subsequent threads returning EBUSY from vm_insert_pfn() was not handled > correctly. As a result concurrent access from new threads to > mmapped data caused SIGBUS. > > Tested-by: Mika Kuoppala > Signed-off-by: Dmitry Rogozhkin Fixes? Reported-by? I would order the case slightly different so that the comment block comes after EIO. Reviewed-by: Chris Wilson -Chris -- Chris Wilson, Intel Open Source Technology Centre