[PATCH] drm/i915: Prevent signals from interrupting memory recovery

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 7 Sep 2012 23:38:05 -0700, Ben Widawsky <ben at bwidawsk.net> wrote:
> On Tue,  4 Sep 2012 21:00:58 +0100
> Chris Wilson <chris at chris-wilson.co.uk> wrote:
> 
> > Just a spark of an idea to see if this is valid.
> > 
> > Given extreme memory pressure where we must zap our own caches and
> > bound buffers or else we fail to allocate a structure, we have a
> > choice of propagating that interrupt back to userspace or to quietly
> > suppress it in the hope of making the allocation.
> > i915_gem_shrink_all() is a likely candidate for that last ditch
> > effort that currently fails to propagate the interruption back...
> 
> What's the BKM for making the memory all go bye-bye (ie. how to test
> this patch a bit)?

There are a few i-g-t that purposesly exercise resource starvation, or
you can just use firefox (which has the added bonus of throwing in
signals for free)!
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux