Re: [Intel-gfx] [PATCH] drm/i915: Prevent signals from interrupting memory recovery

2012-09-08 Thread Chris Wilson
On Fri, 7 Sep 2012 23:38:05 -0700, Ben Widawsky wrote: > On Tue, 4 Sep 2012 21:00:58 +0100 > Chris Wilson 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 str

Re: [Intel-gfx] [PATCH] drm/i915: Prevent signals from interrupting memory recovery

2012-09-07 Thread Ben Widawsky
On Tue, 4 Sep 2012 21:00:58 +0100 Chris Wilson 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 users

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

2012-09-04 Thread Chris Wilson
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