From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
To: Chris Wilson <chris@chris-wilson.co.uk>, intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH v2 1/5] drm/i915: Wait for struct_mutex inside shrinker
Date: Wed, 24 May 2017 18:31:10 +0300 [thread overview]
Message-ID: <1495639870.3391.1.camel@linux.intel.com> (raw)
In-Reply-To: <20170524145504.GD21114@nuc-i3427.alporthouse.com>
On ke, 2017-05-24 at 15:55 +0100, Chris Wilson wrote:
> On Wed, May 24, 2017 at 03:39:37PM +0100, Chris Wilson wrote:
> >
> > Having resolved whether or not we would deadlock upon a call to
> > mutex_lock(&dev->struct_mutex), we can then wait for the contended
> > struct_mutex if we are not the owner. This should significantly improve
> > the chance of running the shrinker for other processes whilst the GPU is
> > busy.
> >
> > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> > Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
>
> Scratch this, cyclic deadlocks with the reclaim locks instead. If BAT
> doesn't pick this up, I'll be woried.
Whole series or just this patch?
Regards, Joonas
--
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2017-05-24 15:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-24 14:39 [PATCH v2 1/5] drm/i915: Wait for struct_mutex inside shrinker Chris Wilson
2017-05-24 14:39 ` [PATCH v2 2/5] drm/i915: Allow kswapd to pause the device whilst reaping Chris Wilson
2017-05-24 14:39 ` [PATCH v2 3/5] drm/i915: Encourage our shrinker more when our shmemfs allocations fails Chris Wilson
2017-05-24 14:39 ` [PATCH v2 4/5] drm/i915: Remove __GFP_NORETRY from our buffer allocator Chris Wilson
2017-05-24 14:39 ` [PATCH v2 5/5] drm/i915: Revoke any shmemfs mappings on shrinking Chris Wilson
2017-05-24 14:55 ` [PATCH v2 1/5] drm/i915: Wait for struct_mutex inside shrinker Chris Wilson
2017-05-24 15:31 ` Joonas Lahtinen [this message]
2017-05-24 15:38 ` Chris Wilson
2017-05-24 14:57 ` ✓ Fi.CI.BAT: success for series starting with [v2,1/5] " Patchwork
2017-05-24 15:08 ` Chris Wilson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1495639870.3391.1.camel@linux.intel.com \
--to=joonas.lahtinen@linux.intel.com \
--cc=chris@chris-wilson.co.uk \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.